SWE-bench Creators Say Real Pull Requests Beat Synthetic Code Benchmarks

How SWE-bench Was Built | Stanford CS329Z Guest Lecture with Carlos Jimenez, Alex Wettig & John Yang — Stanford Online

Stanford Online

Mining GitHub issues and verification suites from human pull requests proved models reason rather than memorize, shifting agent evaluation from prompt harnesses toward minimal bash interfaces.

AI-assisted summary of How SWE-bench Was Built | Stanford CS329Z Guest Lecture with Carlos Jimenez, Alex Wettig & John Yang — original source. Check the original for full context.

Source published:

Key ideas

  • SWE-bench established real-world software engineering evaluation by pairing GitHub issue descriptions with resolving pull requests, launching with a top model baseline score of only 1.96%. (12:03)
  • Initial concerns that language models would achieve trivial benchmark scores by memorizing public pull request diffs proved unfounded; models struggled significantly and later improved through problem-solving rather than rote regurgitation. (10:25)
  • Building SWE-bench execution environments required three to four months of manual dependency engineering to handle obsolete C libraries, eventually inspiring automated container setup in SWE-smith and the human-annotated 500-task SWE-bench Verified split. (20:23)
  • Coding agent scaffolding has transitioned from heavy prompt engineering and protective synthetic error injection to minimal bash harnesses as frontier models have gained native training on terminal navigation and tool use. (40:32)

Detailed notes

## Background This guest lecture was published on YouTube by Stanford Online on November 30, 2026, for the course Stanford CS329Z: Engineering AI Agents. Hosted by course instructor and co-creator John Yang, the session features SWE-bench co-creators Carlos Jimenez and Alexander Wettig reflecting on the origins, engineering hurdles, adoption, and future directions of the benchmark.

## TL;DR SWE-bench co-creators Carlos Jimenez, Alexander Wettig, and John Yang detail how they turned paired GitHub issues and pull requests into a foundational benchmark for autonomous software engineering. They recount the grueling manual labor required to construct reproducible historical execution environments, the relief of launching with an initial 1.96% baseline rather than a broken 0%, and the explosion of industry interest following Cognition's Devin announcement. The discussion traces the subsequent evolution of tooling from SWE-agent to SWE-bench Verified and SWE-smith, noting how agent scaffolding has simplified as models gained native terminal abilities. Finally, the panel explores emerging frontiers in AI evaluation, emphasizing external ground-truth verification, extended execution horizons, and the challenges of evaluating interactive, personal agents.

## Atmosphere & style The conversation carries the relaxed, collegiate intimacy of an academic reunion, marked by candid humor and technical humility as former Princeton labmates reminisce about early engineering disasters, Conda bugs, and agonizing Figma diagram revisions. Rather than hyping benchmark numbers, the speakers offer a grounded, reflective post-mortem that demystifies breakthroughs into months of gritty environment debugging and trajectory log inspection. It feels like eavesdropping on an insightful, unvarnished debrief between frontier researchers who witnessed a side project rapidly morph into an industry-defining standard.

## Bulletin - [12:03](https://www.youtube.com/watch?v=heiGKFgvJvk&t=723s) SWE-bench established real-world software engineering evaluation by pairing GitHub issue descriptions with resolving pull requests, launching with a top model baseline score of only 1.96%. - [10:25](https://www.youtube.com/watch?v=heiGKFgvJvk&t=625s) Initial concerns that language models would achieve trivial benchmark scores by memorizing public pull request diffs proved unfounded; models struggled significantly and later improved through problem-solving rather than rote regurgitation. - [20:23](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1223s) Building SWE-bench execution environments required three to four months of manual dependency engineering to handle obsolete C libraries, eventually inspiring automated container setup in SWE-smith and the human-annotated 500-task SWE-bench Verified split. - [40:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2432s) Coding agent scaffolding has transitioned from heavy prompt engineering and protective synthetic error injection to minimal bash harnesses as frontier models have gained native training on terminal navigation and tool use.

## Key takeaways - [02:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=152s) Prior to SWE-bench in mid-2023, coding evaluations were dominated by synthetic needle-in-a-haystack tests or single-turn, function-level puzzles like HumanEval rather than interactive agent workflows. - [05:36](https://www.youtube.com/watch?v=heiGKFgvJvk&t=336s) Pairing GitHub issue descriptions with resolving pull requests provided high-signal problem-label pairs reflecting genuine software engineering workflows without requiring hand-authored test cases. - [08:10](https://www.youtube.com/watch?v=heiGKFgvJvk&t=490s) Fears of training set contamination and diff memorization dissipated when models initially performed near the floor rather than regurgitating known pull requests. - [12:03](https://www.youtube.com/watch?v=heiGKFgvJvk&t=723s) A launch baseline score of ~2% was considered an encouraging validation of benchmark infrastructure, whereas a 0% result typically indicates broken environments or pipeline bugs. - [15:35](https://www.youtube.com/watch?v=heiGKFgvJvk&t=935s) Turning the 15-minute conceptual whiteboard design into a functional benchmark required months of manual dependency resolution across complex repositories like NumPy and scikit-learn. - [24:46](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1486s) Harvesting unit tests directly from real pull requests enabled organic scaling across specialized domains—such as Matplotlib rendering backends—that benchmark authors could not have written themselves. - [28:00](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1680s) Early validation encountered severe execution hurdles, including academic Slurm clusters without Docker or root access and a Conda bug that silently truncated paths exceeding 128 characters. - [29:50](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1790s) Devin's launch in March 2024 using SWE-bench as its primary metric triggered industry-wide escape velocity and justified months of dedicated open-source maintenance and leaderboard stabilization. - [33:56](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2036s) The research progressed methodically through three distinct stages: establishing the benchmark first (SWE-bench), developing the interactive harness second (SWE-agent), and generating synthetic training data third (SWE-smith). - [40:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2432s) Agent scaffolding evolved from complex, highly constrained terminal wrappers toward minimal harnesses as foundation models developed native capabilities for bash interaction. - [44:29](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2669s) Debugging agent trajectory logs requires analyzing the environment from the perspective of an agent entering blind, catching conversational chat priors such as repeating silent commands. - [53:35](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3215s) While coding agents dramatically lower the cost of engineering benchmark environments, synthetic model-to-model loops remain brittle and require human oversight or strict physical execution constraints. - [01:00:13](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3613s) SWE-bench Verified was developed with OpenAI's Preparedness team and human annotators to eliminate edge cases and ensure tasks accurately measure genuine software development skills. - [01:10:06](https://www.youtube.com/watch?v=heiGKFgvJvk&t=4206s) The next evaluation frontiers involve moving beyond single-repository bug fixes toward multi-week project execution horizons, systems engineering, and safely managing personal agent interactions.

## Detailed walkthrough ### [00:05](https://www.youtube.com/watch?v=heiGKFgvJvk&t=5s) Introduction and Course Context

John Yang opens the Stanford CS329Z session by welcoming students on a rainy day to an 80-minute lecture featuring a fireside chat with his collaborators Carlos Jimenez and Alexander Wettig. Yang sets the stage by noting that the audience previously heard from the Terminal-Bench team, who drew extensive inspiration directly from SWE-bench. Describing Carlos and Alex as the "OGs" of coding agent evaluations, Yang explains that the first hour will trace the origin story of how SWE-bench defined the modern landscape of coding agent benchmarks, followed by an open audience Q&A session.

Carlos Jimenez introduces himself, sharing that he completed his PhD at Princeton University working on SWE-bench alongside John and Alex roughly a year prior. Carlos highlights that evaluating language models and autonomous agents has been the central focus of his doctoral research and remains his primary focus today. Alex Wettig introduces his background as a fellow Princeton PhD graduate whose research centered on language model pre-training, data curation, and long-context training—the technical angle through which he originally became involved in SWE-bench. Following his PhD, Alex spent a year at Cursor and now works on pre-training at Anthropic.

[02:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=152s) The Evaluation and Long-Context Landscape in Mid-2023

Reflecting on the state of machine learning in May and June 2023, the speakers recall how early model capabilities and evaluation paradigms shaped their initial thinking. At the time, models offering a 100,000-token context window were brand-new and considered exceptionally long, pushing well past standard boundaries. Early baseline experiments for SWE-bench relied on the 32k-token version of GPT-4, which represented the frontier of long-context capabilities at that moment.

Alex points out that prevailing long-context benchmarks at the time were largely synthetic or toy tasks: > “And there were a handful of Evals that people were using that were evaluating these long context models on. So if people remember like needle in the haystack, those types of you know, that was like one example. There there are other of course, but but back then I think most of the the long context examples were or the long context evaluations were a little bit toy or contrived.”

Because the community had never experienced such large context windows, researchers were uncertain about what real-world capabilities extended context would actually unlock. Alex notes that exploring whether models could ingest entire codebases or massive files was a key motivation. In parallel, code evaluation benchmarks were dominated by few-shot code completion or function-level repair tasks, such as HumanEval and LeetCode-style competitive programming. Furthermore, the agentic paradigm had not yet taken hold; evaluation was overwhelmingly single-turn, feeding tokens into a model and inspecting the single resulting generation.

- **Long-context frontier in mid-2023:** 100k tokens was considered cutting-edge; SWE-bench baselines launched on GPT-4 32k. - **Predominant benchmarks:** Synthetic evaluations like Needle In A Haystack and function-level benchmarks like HumanEval. - **Interaction pattern:** Strict single-turn prompt-and-generate evaluations rather than multi-step tool-using agents.

[05:36](https://www.youtube.com/watch?v=heiGKFgvJvk&t=336s) Why GitHub Issues and Pull Requests Were the Right Target

Carlos describes how the realization emerged that GitHub repositories contained the ideal structure for building a realistic, high-information benchmark. Historically, supervised evaluation datasets require paired problem statements and verified ground-truth labels. While previous code benchmarks restricted themselves to short coding puzzles, real open-source software development already cataloged thousands of real-world problems paired directly with their human-verified solutions.

Carlos argues that SWE-bench's discovery was an organic step forward given public internet data: > “I think that in some respect, I think that SWE-bench would have been inevitable, right? Like the source of problem and label pairs that naturally are structured in issue pull request pairs in GitHub was just like an open an open source of like very high information rich data that was on the internet.”

Treating an issue description as the problem prompt and the corresponding pull request as the target solution allowed the team to step far beyond LeetCode competitions. It mapped machine learning evaluation directly onto the natural workflow of software engineering.

```mermaid flowchart LR accTitle: GitHub Issue to Pull Request Benchmark Flow accDescr: Pipeline mapping GitHub issues and pull requests to benchmark problem-label pairs. subgraph Sourcing["Raw Open Source Data"] direction TB A["GitHub Issue Description<br/>(Bug report / feature request)"] B["Merged Pull Request<br/>(Diffs and test cases)"] end subgraph Benchmark["SWE-bench Task Formulation"] direction TB P["Task Problem Input<br/>(Context codebase + Issue text)"] L["Ground Truth Solution<br/>(Verified patch + Unit tests)"] end A --> P B --> L ```

[08:10](https://www.youtube.com/watch?v=heiGKFgvJvk&t=490s) Infrastructure Bottlenecks and the Fear of Memorization

Turning the concept into an operational dataset presented massive technical and empirical hurdles. Alex recalls running the collection pipeline on modest academic infrastructure at Princeton, which required downloading massive repositories, scraping every issue and pull request via the GitHub API, and then cross-referencing and linking the two sets.

Once the initial task instances were assembled, the team was deeply uncertain about how language models would actually perform. One major concern was complete failure (achieving 0%), while the opposite fear was pure memorization: because the repositories and pull requests were public on the open internet, models might simply regurgitate the exact diffs without performing any real reasoning.

Alex describes the suspense and surprising outcome of those first runs: > “And well sort of it turns out that didn't happen. Models were actually really really sort of poor at this.”

Far from achieving effortless high scores via memorization, initial models struggled drastically on the task suite. Alex notes that while memorization concerns have surfaced repeatedly across public benchmarks, any team building models internally must carefully decontaminate training data if they want the benchmark to serve as a meaningful metric of capability progress.

- **Data collection hurdles:** Heavy strain on academic compute infra; rate-limited GitHub API pipelines required pulling complete issue sets and PR sets separately before matching them. - **Initial performance reality:** Rather than regurgitating verbatim pull request diffs from pre-training, frontier models scored near bottom on the zero-shot problem-solving benchmark.

[10:25](https://www.youtube.com/watch?v=heiGKFgvJvk&t=625s) Memorization Concerns and Empirical Model Behavior

Alex Wettig explains that if GitHub had structured pull request data in an easy format—such as a simple API mapping an issue directly to its resolving pull request—models would likely have ingested that pairing during pre-training and memorized the solutions outright. However, empirical testing showed this was not what occurred. Models performed terribly at the outset, and as their capabilities grew, their progress came from reasoning and problem-solving rather than rote regurgitation:

> “Models were very bad at this and then they also got better in different ways than just regurgitating the solutions I would say.” — Alex Wettig

John Yang reflects on the broader impact of the project, noting that SWE-bench ignited an entire ecosystem of follow-on research prefixed with "SWE-". The team had anticipated early on many of the downstream challenges that later materialized: - Alignment discrepancies led directly to the creation of SWE-bench Verified. - The demand for more difficult tasks led to SWE-bench Pro. - Open questions remained about manipulating GitHub data beyond the straightforward issue-PR pairing.

---

[12:03](https://www.youtube.com/watch?v=heiGKFgvJvk&t=723s) Launching with a ~2% Baseline: Why Low Scores Were Encouraging

John turns to the evaluation numbers at launch. In class discussions on benchmark design, instructors typically emphasize building tasks where models have room to climb. When SWE-bench launched, the best model achieved an accuracy of only 1.96%. John asks whether starting at a ~2% baseline felt alarming or discouraging, contrasting it with benchmarks like MMLU where models had already hit 40% to 50%.

Alex responds that seeing an initial result hovering around 2% on an early data slice was deeply motivating rather than discouraging. A 0% score often indicates broken infrastructure, unhandled bugs, or an intractable setup. Achieving 2% proved that the problem formulation possessed genuine structure:

> “I remember when we first got like the initial results, which was basically the 2% number, maybe on like a subset of the of the initial data. And that was really exciting because I think getting 2% on a benchmark is is is much more exciting than getting 0% because if you get 0% then you know, just empirically you probably have like a bug or you have to do more work to like figure out what's going on.” — Alex Wettig

Alex elaborates that it is rare to find a benchmark where models are on the very first rung of the ladder while maintaining deterministic execution environments like terminal interfaces. The team had high confidence that autonomous coding agents would mature into a real, durable capability.

To make an eight-page paper convincing when scores are that low, the team added ablation experiments to prove the benchmark measured real reasoning rather than noise. They ran an oracle test giving models only the exact files modified by the gold patch: - Providing ground-truth files significantly boosted solve rates, proving the task was feasible when localization was solved. - The team trained SWE-Llama on the SWE-bench task distribution; in the oracle setting with gold files provided, it outperformed several closed API models.

```mermaid flowchart TD accTitle: Evaluation Lift with Ground-Truth Oracle Files accDescr: Diagram illustrating how providing the gold patch files lifted model performance on SWE-bench and validated the benchmark. subgraph Input["Task Presentation"] A["Full Repository Context<br/>(Standard Task)"] B["Oracle Context<br/>(Ground-Truth Files Only)"] end

subgraph Evaluation["Execution & Scoring"] C["Initial Baseline Score<br/>(~1.96% Solve Rate)"] D["Substantial Performance Lift<br/>(SWE-Llama beats API models)"] end

A --> C B --> D ```

---

[15:35](https://www.youtube.com/watch?v=heiGKFgvJvk&t=935s) Designing SWE-bench and the Reality of Environment Construction

John shifts the discussion to the practical execution of SWE-bench, connecting it to the students' current homework assignment where they build benchmarks and evaluations. The co-creators reminisce about working together in a noisy Princeton University lab during the summer, surrounded by campus drilling and construction.

The early conceptual framing existed in Carlos Jimenez's Notion notes, and early candidate tasks were discussed after John shared an example issue from `scikit-learn`. On their very first day together at a whiteboard, the high-level design materialized in roughly 15 minutes:

```mermaid flowchart LR accTitle: SWE-bench Data Pipeline Concept accDescr: Flow diagram showing GitHub issues paired with pull requests evaluated in deterministic execution environments. A["GitHub Issue<br/>(Problem Statement)"] --> B["Human Pull Request<br/>(Gold Patch & Tests)"] B --> C["Isolated Execution Environment<br/>(Deterministic Verification)"] C --> D["Model Patch vs.<br/>Human Label Comparison"] ```

Carlos recalls how rapidly the conceptual clarity formed and why the design felt inevitable:

> “I think within maybe 15 minutes or something the whole structure was very very clear. At least to me it was very clear to me that this was like a very promising route. And that's because of the structure of the data. You have like a huge trough of problems even like with you know timestamps and all of this dated information with basically like expert driven human solutions through the pull requests.” — Carlos Jimenez

Despite drafting the task formulation in a single afternoon, turning SWE-bench into an operational evaluation took three to four months of grind. Carlos admitted he was anxious about being scooped because the core idea felt so obvious once stated.

The vast majority of the effort went into environment engineering: configuring Python dependencies, build chains, and test suites so that model patches could run against human test suites deterministically. Alex credits John with bearing the brunt of the manual environment setup, testing numerous candidate repositories such as `scikit-learn`, `numpy`, and Hugging Face's `transformers`.

[20:23](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1223s) Environment Hell, NumPy Dependencies, and Manual Wrangle

Setting up the execution environments for SWE-bench proved to be far messier than the conceptual formulation of the benchmark. Because the set of target repositories was hand-picked, the team ran into gnarly, repo-specific quirks. Alexander Wettig points out that NumPy was especially painful due to its complicated C dependencies and deprecated historical requirements. John Yang spent hours digging through build logs trying to install three-year-old versions of NumPy. Installation pipelines that succeeded on recent pull requests routinely collapsed when run against historical commits. Beyond installation, parsing the output of disparate Python testing frameworks required custom harnesses, exposing countless edge cases. While Carlos Jimenez's core pitch was intuitively simple, handling the nuances—such as tests returning undefined states or failing outright due to missing system dependencies—demanded extensive debate.

Today, strong coding agents can automate much of that setup. Alex highlights John's later project, SWE-smith, which automates environment generation by dropping an agent directly into the container to configure dependencies and parse test outputs autonomously. Back when SWE-bench was created, however, that technology did not exist, forcing the co-creators to resolve every dependency puzzle by hand. Reflecting on those grueling debugging cycles, John recalls Carlos’s rallying cry for the project: “trudge through mud.” He advises students building new evaluation benchmarks to embrace getting their hands dirty rather than giving up when manual labor is required.

```mermaid flowchart TD accTitle: Evolution from Manual SWE-bench to Automated SWE-smith accDescr: Diagram contrasting the 2023 manual environment creation workflow against the 2024 SWE-smith autonomous setup.

subgraph SWEbench2023 ["SWE-bench (2023 Manual Workflow)"] A["Hand-picked Repositories"] --> B["Manual Dependency Resolution"] B --> C["Parse Test Frameworks by Hand"] C --> D["Resolve Edge Cases (e.g. Broken C Libs)"] end

subgraph SWEsmith2024 ["SWE-smith (Agent-Automated Workflow)"] E["Target Repository"] --> F["Deploy Coding Agent in Sandbox"] F --> G["Agent Installs Dependencies"] G --> H["Agent Executes & Parses Tests"] end ```

- **Historical Software Friction:** Installing historical releases (such as NumPy versions from three years prior) meant dealing with obsolete, unsupported C libraries that modern package managers failed to link cleanly. - **Fail-to-Pass and Pass-to-Pass:** The benchmark relies on categorizing tests into *FAIL_TO_PASS* (tests that fail before the fix and pass after) and *PASS_TO_PASS* (regression tests that remain green), making environment-level errors particularly disruptive. - **Long-Tail Edge Cases:** Alex emphasizes that without inspecting the raw data line-by-line, developers will miss subtle environment failures and strange anomalies lurking within pull requests. - **SWE-bench Verified:** The co-creators acknowledged that while they performed initial quality assurance under tight paper deadlines, the later SWE-bench Verified initiative with OpenAI was essential for cleaning up edge cases.

---

[24:00](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1440s) Iterating on Benchmark Diagrams and Advisory Critiques

John shares behind-the-scenes slides showing the whiteboard sketches and rough wireframes that predated the published SWE-bench architecture diagram. Developing clear visual abstractions took multiple days and endless revisions. John and Alex recall iterating in Figma based on feedback from their Princeton advisor, Karthik Narasimhan, remarking humorously that after 15 distinct drafts, the final graphic ended up looking almost identical to the earliest concept, yet subtly refined in every detail.

John uses this visual progression to illustrate the sheer amount of care and attention required to transform an ad-hoc research experiment into a polished, definitive standard for the research community.

---

[24:46](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1486s) Sourcing Ground Truth: Real-World PRs vs. Hand-Authored Benchmarks

Turning to the verification methodology, John outlines the fundamental three-part anatomy of a coding benchmark task: the problem statement, the runtime environment, and the verification mechanism. Unlike benchmarks like Terminal-Bench that rely on hand-authored tests, SWE-bench harvested unit tests directly from pull requests in open-source repositories.

```mermaid flowchart LR accTitle: SWE-bench Task Anatomy accDescr: Flow diagram showing the three core components of an evaluation task leading to the benchmark result.

A["Problem Statement<br/>(GitHub Issue Description)"] --> D["Task Instance"] B["Execution Environment<br/>(Repo State & Dependencies)"] --> D C["Verification Suite<br/>(PR Test Patch: F2P & P2P)"] --> D D --> E["Benchmarked Agent Evaluation"] ```

Alex explains that sourcing tests from open-source GitHub pull requests allowed them to capture an organic distribution of software engineering tasks that no single research team could have authored from scratch. While the authors possessed solid Python expertise in machine learning and distributed systems, they had no domain knowledge of specialized domains like Matplotlib's graphics backends. By harvesting tests from real pull requests, SWE-bench naturally tapped into the collective expertise of thousands of open-source contributors:

> “I think one thing that was really great about SWE-bench is that it was like a distribution of problems that we could not have hand authored ourselves.” — Alexander Wettig

Alex notes the trade-offs of this approach compared to datasets built by hand-selected domain experts: * **Organic Distribution vs. Curated Rubrics:** Benchmarks with hand-authored verification (like Terminal-Bench, focused on scientific programming) enforce strict contributor annotation rubrics, but they scale slowly and cover narrower problem scopes. * **Open-Source Scalability:** Pulling verification suites straight from Git history enabled rapid expansion into new languages (as seen later in SWE-bench Multilingual) without needing to hire domain-specific software teams. * **Ecosystem Catalyst:** Although raw pull-request scraping introduced minor imperfections, Alex argues it catalyzed a massive surge of commercial investment, paid human verification, and derivative benchmarks across the AI industry.

---

[28:00](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1680s) The 128-Character Conda Bug and Slurm Cluster Struggles

The session closes with war stories from the initial execution run. In the earliest iterations of the pipeline, the team built environments using Conda directly on host systems rather than inside isolated Docker containers. This led to bizarre, non-deterministic build errors that baffled the researchers for days.

The culprit turned out to be an obscure Conda limitation: naming an environment with a path string longer than 128 characters caused silent internal path truncations and sporadic runtime crashes. Discovering that fix felt like an immense Eureka moment.

Carlos and Alex also recall watching John attempt to build and run eight distinct Python environments in parallel on his local machine. To make matters worse, early pipeline validation was attempted on a shared university Slurm cluster that lacked Docker support. Without root access, the researchers had to spend days engineering around strict user permissions and user-space package installations. John emphasizes that encountering these maddening system issues is not a sign of failure, but proof that one is tackling real, meaningful engineering problems.

[29:50](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1790s) The Scope Debate, Cost Constraints, and the Quiet Launch

Looking back at the original design decisions for SWE-bench, Carlos Jimenez asks John Yang whether he thinks the benchmark ended up being too large. John confesses that in the beginning, he had actually pushed to include 10,000 tasks. He had been enthusiastic about that massive scale until the team ran the benchmark for the very first time. It was not the execution runtime that stopped them; it was the financial cost of the model calls. While the initial bill was minuscule compared to the massive budgets labs and companies pour into evaluations today, it was enough of a shock at the time to convince the team to scale back.

```mermaid flowchart LR accTitle: SWE-bench Adoption Timeline accDescr: Sequence of events from SWE-bench creation to Devin announcement and community scale. subgraph S1["2023: Genesis"] A["June 2023: Project begins"] --> B["September 2023: Initial release on Twitter"] end subgraph S2["Late 2023: Incubation"] B --> C["Quiet adoption by early labs"] end subgraph S3["2024: Escape Velocity"] C --> D["March 2024: Cognition releases Devin"] D --> E["Community explosion & leaderboard"] end ```

John observes that SWE-bench managed to achieve true "escape velocity"—it transcended being just an accepted ICLR research paper to become an industry-wide standard adopted across the entire field. The timeline of its adoption, however, was not an instant overnight viral success:

- **June 2023**: Carlos, Alex Wettig, and John team up, conceive the core idea, and build out the benchmark environments. - **September 2023**: Carlos formally announces the release with a tweet, but the benchmark sees relatively modest external usage over the next two months. - **March 2024**: Cognition announces Devin, using SWE-bench as the marquee metric for autonomous software engineering, which catapults the benchmark into the center of the AI discourse.

Carlos recalls that the muted response immediately following the September release was not surprising, partly because they were relatively early-career researchers who had not previously published high-profile work in that exact niche. Yet behind the scenes, the concept resonated immediately with key teams. When Carlos spoke with the Cognition team, it was apparent that reading the SWE-bench paper sparked the realization that viable, commercial AI-driven coding products could be built around this framework. Reflecting on the timing, Carlos notes that while language models thrive on verifiable problems paired with large-scale data sources, reinforcement learning via verifiable rewards (RLVR) was not yet common practice:

> “We talked earlier in the drive over and there was no RLVR at the time, which was also kind of weird to think back on, but people mostly I think did just kind of SFT things.”

[33:56](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2036s) The Unglamorous Aftermarket: Open-Source Maintenance and Tooling

Following Devin's launch in March 2024, interest exploded across both academia and the commercial tech sector. Maintaining that momentum required an exhausting amount of unglamorous engineering labor that went far beyond what is typical for an academic publication. For roughly an entire year after SWE-bench came out, the team devoted themselves to open-source software maintenance: resolving issues, building and updating leaderboards, debugging broken execution environments, and hardening the benchmarking harness.

A significant hurdle was the absence of off-the-shelf infrastructure for running multi-step agent loops. While John had experimented with terminal execution in earlier work like InterCode, piping raw model completions directly into interactive bash shells was rare in the open-source ecosystem. Working alongside collaborators like Kilian Lieret, the team had to design, stabilize, and refine that interactive loop themselves. Carlos points out that sustaining the benchmark was essentially like managing a developer product where user experience, tooling reliability, and clear messaging mattered immensely—quipping that collaborator Ofir Press served as an energetic marketer on Twitter.

Alex emphasizes that resisting the urge to jump immediately to the next novel research project was critical:

> “And I think there's like this great instinct to like finish a thing and then like immediately jump to the next thing, but I think putting in the work afterwards like really paid off here.”

- **Containerization**: Standardizing fragile task environments into self-contained Docker images made the benchmark portable and reproducible across diverse machines and cloud providers. - **Ecosystem engagement**: Collaborating directly with external teams and companies ensured the harness could run reliably at scale across different compute clusters. - **Sequential research progression**: Rather than jumping directly into aggressive model pre-training or fine-tuning, the team followed a disciplined sequence: benchmark first (SWE-bench), agentic execution baseline next (SWE-agent), and finally synthetic training data generation (SWE-smith) roughly two years later.

[37:46](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2266s) Co-Evolving the Agentic Harness with the Benchmark

John highlights that SWE-agent served as a natural bridge in their research agenda. In CS329Z, early lectures focus heavily on agent design patterns—ranging from the ReAct paradigm popularized by Shunyu Yao (a co-author on the project) to memory architectures and multi-agent coordination—before moving into evaluations and training datasets. John asks how the creation of a difficult, realistic evaluation influences the design of the agent harnesses wrapped around the model.

Alex observes that there is an elegant logic to the workflow: first, you build the benchmark to define ground truth; second, you construct a flexible, dynamic harness to give the model the interactive tools it needs to tackle the benchmark; only after those baselines are established do you focus on training models tailored for the task.

```mermaid flowchart TD accTitle: Research Evolution from SWE-bench to SWE-smith accDescr: Step-by-step pipeline showing how the Princeton/Stanford team moved from evaluation to agent scaffold to training data. subgraph P1["Phase 1: Measure"] A["SWE-bench<br/>(Evaluation Metric & Problem Sourcing)"] end subgraph P2["Phase 2: Scaffold"] B["RAG Baselines<br/>(Raw LLM extraction without interaction)"] C["SWE-agent<br/>(Interactive REPL, terminal tools & file navigation)"] A --> B B --> C end subgraph P3["Phase 3: Train"] D["SWE-smith<br/>(Synthetic data & domain training)"] C --> D end ```

Carlos explains that the baseline models published in the initial SWE-bench paper were limited Retrieval-Augmented Generation (RAG) setups. They consciously designed those first tests to gauge the model's raw language reasoning and code-completion intelligence without confounding the results with tool-use failures, file browsing errors, or REPL navigation bugs. That clean baseline formed the essential, controlled starting point required before they introduced complex agentic environments and dynamic tool-calling interfaces in SWE-agent.

[40:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2432s) The Evolution of Agent Harnesses and the Shrinking Scaffolding

Carlos Jimenez explains that early implementations like SWE-agent required an exceptionally heavy harness to make language models behave properly inside a terminal. Because the models available at the time were fundamentally conversational chat models trained to converse with human beings, the system had to coerce them into interacting with a computer via the command line. This required substantial prompt engineering and brittle guardrails: if a model attempted to issue an illegal bash command, the harness would intervene by injecting synthetic error prompts to steer it back on track. However, as frontier models were progressively post-trained on tool use and terminal environments, this extensive scaffolding became redundant. Carlos observes that while brand-new or exceptionally difficult tasks may still require hand-holding to elicit the model's latent intelligence, the long-term trend favors minimal harnesses: “And then eventually if the model is smart enough to figure out the environment for itself, often times minimal harness is frequently the best kind of thing.”

```mermaid flowchart TD accTitle: Evolution of Coding Agent Harnesses accDescr: Diagram contrasting early heavy agent harnesses with modern lightweight ones where model capabilities swallow scaffolding. subgraph Early["Early Era: SWE-agent with Chat Models"] M1["Chat-Trained Model"] H1["Heavy Harness Scaffolding"] G1["Injected Safeguards & Syntax Correction"] T1["Terminal / Bash"] M1 <--> H1 H1 <--> G1 H1 <--> T1 end

subgraph Modern["Modern Era: Native Tool-Use Models"] M2["Agentic / Command-Tuned Model"] H2["Minimal Harness (e.g., Mini-SWE-agent)"] T2["Terminal / Custom Tools"] M2 <--> H2 H2 <--> T2 end

Early -->|"Capabilities internalized into weights"| Modern ```

John Yang reflects on the humor and frustration of reviewing early trajectory logs, pointing out how chat-based priors caused models to stumble over normal Unix conventions. A classic example occurred when a model ran an `rm -r` command. In Unix, standard file deletion produces no terminal output upon success; because the command returned an empty string, the model assumed the command had silently failed and repeatedly re-ran `rm -r`, wondering why it never received an explicit success confirmation. John notes that while tools like Kilian Lieret's mini-swe-agent strip everything down to pure bash execution, products like OpenAI Codex and Claude Code still maintain tailored toolsets (such as dedicated file viewers and editors). Whether specific affordances remain external tools or get completely internalized into model weights through targeted data interventions remains an ongoing, unsettled evolution.

Alexander Wettig adds that researchers must deliberately put themselves into the perspective of an agent starting an episode completely blind. A model is dropped without human contextual memory into an arbitrary environment selected from millions of possible code repositories, lacking the implicit assumptions human developers rely on. Alex emphasizes the importance of closely inspecting trajectory logs during evaluation runs to catch instances where an agent wastes dozens of expensive tool calls chasing down understandable, yet entirely misguided, rabbit holes.

- **Chat vs. Terminal Paradigms**: Early SWE-agent had to bridge the gap between human chat alignment and strict bash syntax through automated error-injection prompts. - **The Empty-Output Pitfall**: Chat models frequently looped on commands like `rm -r` because Unix's silent-on-success convention violated their conversational expectation of an explicit response. - **Harness Variants**: Systems range from full terminal abstractions (mini-swe-agent relying strictly on bash) to hybrid setups with tailored file viewers and diff tools (Claude Code, SWE-agent).

---

[44:29](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2669s) Research Habits: The Discipline of Inspecting Raw Data

Transitioning from technical mechanics to general research practices, John highlights that SWE-bench was a massive collaborative effort and asks Carlos and Alex for their core advice to researchers working in frontier labs or academia. Carlos immediately points to rigorous, hands-on attention to data and evaluation pipelines. He warns that researchers frequently assume their datasets or benchmarks are functioning correctly, only to discover too late that an agent is failing simply because an environment is missing an obscure system dependency: “I do think that like a very common thing that happens, especially with people that are trying to maybe train models, is that they take the data for granted or they take the eval for granted and you should like spend time stepping through exactly what the model sees.” Carlos stresses that modern machine learning methods almost always work provided the data and structural formulation are sound; researchers simply have to be disciplined enough to do the nitty-gritty fiddling required to guarantee environment integrity.

Alex shares another foundational lesson drawn from the genesis of SWE-bench: the value of pursuing open-ended curiosity. Looking back at Carlos’s earliest research notes, SWE-bench was not originally conceived as an autonomous coding agent benchmark at all, but rather as an evaluation for long-context language models. In early 2023, model context windows had just made the leap from 1,000 tokens to 16,000 tokens, with pioneering models like Claude 2 expanding context windows up to 100,000 tokens. Carlos had initially wondered what kind of real-world tasks could genuinely saturate and test those massive windows. That open exploration eventually led the team somewhere completely unexpected, shifting from passive context consumption into interactive agentic problem-solving.

- **Never Take Evals for Granted**: Missing dependencies, uninstalled packages, and subtle environment bugs are more often the root cause of 0% success rates than fundamental model incapacity. - **Origins in Long-Context Research**: SWE-bench originated as an attempt to construct tasks large enough to test 16K–100K token windows before evolving into an agent benchmark. - **Open-Ended Inquiries**: High-impact research trajectories often begin with broad questions (e.g., “What does a 100K context window make possible?”) rather than narrow optimization goals.

---

[47:56](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2876s) Beyond Repository Coding: What Is Worth Measuring Next?

John raises the question of where evaluation science must go next now that SWE-bench Verified and SWE-bench Multilingual are approaching saturation, with multimodal benchmarks following suit. Setting up the discussion, John notes that benchmarks are shifting away from simply mining GitHub pull requests toward broader interactive environments. Projects like Terminal-Bench explore diverse tasks across Unix terminals (such as configuring AWS cloud infrastructure or running complex computational biology pipelines), while frameworks like Tau-bench incorporate dynamic user-in-the-loop interactions. John observes that across all these shifts, the bash terminal has remained the stable, unifying interface, while the problem statements, external assets, and verification harnesses continue to morph.

Alex acknowledges that deciding what to evaluate next is one of the single most valuable and difficult open questions in machine learning. Laughing, he admits that providing a clean, comprehensive answer on the spot is nearly impossible because defining the frontier of evaluation is precisely where future breakthrough research will come from.

- **SWE-bench Saturation**: High model performance across SWE-bench Verified and multilingual splits necessitates more demanding, varied benchmark suites. - **Terminal as the Universal Substrate**: Despite shifts from pure software engineering to systems engineering, cloud orchestration, and scientific execution, the interactive command-line terminal remains the dominant interface for agent benchmarks. - **User-in-the-Loop Benchmarking**: Emerging paradigms like Tau-bench incorporate human back-and-forth communication rather than static one-shot problem prompts.

[50:28](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3028s) Beyond the Terminal: Unconventional Environments and the Search for Human Signal

Reflecting on evaluation design, Alexander Wettig highlights that some of the most compelling evaluations step entirely outside familiar terminal or codebase setups. He points to a whimsical benchmark where Claude played Pokémon, observing that it tapped into fundamentally different model behaviors: navigating an open-ended digital world, exploring novel surroundings, and interacting beyond a standard command-line interface. While models continue to post rapid gains on tightly constrained, easily verifiable problems, Wettig points out that these gains often do not satisfy human expectations. He observes that progress feels far less steady when evaluating the nuanced, subtle textures of human interaction. Designing benchmarks for those interactive dynamics remains an unsolved problem, and Wettig suggests that future benchmarks in that space will likely abandon the traditional "problem, answer, verify" paradigm altogether.

Carlos Jimenez concurs, explaining that future breakthroughs in evaluation will likely come from extracting signal from unstructured, messy sources that previously seemed impossible to measure. He draws an explicit connection to the origin of SWE-bench: the internet was already filled with unstructured software artifacts, but the benchmark succeeded by doing the hard engineering labor required to turn that raw data into an actionable evaluation signal. Specifically, human expertise had already been encoded into GitHub pull requests. By creating reproducible execution environments and executing model-generated diffs against that human-authored verification signal, the team transformed real-world development artifacts into a rigorous standard. Jimenez argues that researchers should look for similar untapped reserves across the web—places where human effort is implicitly recorded—and put in the engineering work to bridge open problems with authentic human ground truth.

```mermaid flowchart LR accTitle: Extracting Evaluation Signals from Human Artifacts accDescr: Diagram illustrating the conversion of raw human data into structured evaluations like SWE-bench. subgraph RawData["Raw Human Artifacts"] PR["GitHub Pull Requests"] Expertise["Encoded Developer Expertise"] end subgraph Engineering["SWE-bench Framework"] Env["Execution Environments"] RunDiff["Run Candidate Diffs"] end subgraph Outcome["Evaluation Signal"] Verify["Automated Verification"] Signal["Ground-Truth Human Benchmark"] end

PR --> Env Expertise --> RunDiff Env --> Verify RunDiff --> Verify Verify --> Signal ```

[53:35](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3215s) Audience Q&A: Constructing Evaluations and Datasets with Modern Agents

With the planned lecture questions complete, John Yang invites the audience to applaud Jimenez and Wettig before opening the floor to live Q&A. The first audience member asks how modern researchers use coding agents and language models to build environments and assemble evaluation tasks, and how that end-to-end workflow actually operates.

Jimenez splits his answer into two core dimensions: engineering efficiency and synthetic data generation. He points out that building SWE-bench would have been dramatically less painful if today's powerful coding agents had existed at the time, as the sheer manual labor of environment configuration could have been delegated to automated tools. Modern models make implementation and engineering remarkably inexpensive:

> "One of the ways that comes first to mind is just that engineering is a lot cheaper... models can probably engineer that end to end without a lot of human input."

However, Jimenez cautions against treating synthetic model outputs as an uncritical replacement for ground truth:

> "And don't think that models—I mean I don't know exactly, but humans are kind of the measure of all things in a way."

When researchers do lean on synthetic task generation—having models write both the challenges and the solutions—Jimenez stresses that the task and verification framework must force the model to demonstrate genuine problem-solving rather than skating by on internalized parametric knowledge. Pure model-to-model evaluation loops tend to be brittle; reliable benchmarks demand an external source of truth, whether that comes from heavy compute verification, human oversight, or strict real-world constraints.

[57:30](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3450s) Designing Workflows, Dashboards, and Agent Supervision

When Yang asks the speakers to elaborate on their actual workflows for creating benchmarks in industry, Wettig emphasizes that each researcher must tailor their own setup, but the core design challenge centers on building robust interfaces to supervise autonomous agents. Rather than having a human manually comb through repositories—as Yang once did with Scikit-learn, inspecting individual pull requests one by one to verify whether tests accompanied the gold fix—researchers can now deploy models to scan codebases and surface candidate PRs, leaving humans to spot-check the results against the original ground truth.

When scaling environment construction and scraping, Wettig recommends establishing centralized monitoring systems:

- **Centralized Dashboards**: Implement clear visual interfaces where every parallel agent reports its current state, progress, and blockers in one unified workspace. - **Hierarchical Supervision (Outer Agents)**: Deploy high-level meta-agents that summarize cluster logs and highlight system-wide execution trends. - **Targeted Log Auditing**: Conduct regular spot checks on raw logs to verify that agent successes reflect legitimate environment fixes rather than unintended shortcuts or degraded test setups. - **Proactive Error Analysis**: Explicitly query models about all recorded failures to monitor how agents attempt error recovery, ensuring automated patches do not compromise overall benchmark integrity.

Wettig insists that without these dashboards and query layers, it becomes far too easy for agents to apply silent, superficial fixes that compromise dataset quality. The goal of the workflow is to maintain a comprehensive high-level view while preserving the ability to instantly drill down into individual data points.

[01:00:13](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3613s) Cross-Functional Roles: Collaborating Beyond Research Scientists

The discussion turns to organizational dynamics when an audience member asks about the roles complementary to research scientists—such as Technical Program Managers (TPMs) or Product Managers (PMs)—and what traits make those collaborators effective when assembling complex evaluation tasks.

Yang repeats and frames the question for the stream, asking what qualities and division of responsibilities matter most when partnering with non-research technical roles. Wettig notes that traditional product management brings distinct strengths to evaluation pipelines, setting the stage to explore how technical project managers help align benchmark requirements with operational execution.

[01:02:02](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3722s) Distilling Feedback into Actionable, Repeatable Evaluations

Alex Wettig highlights the necessity of observing how an AI product functions in the wild. A model behaves just like any software product, receiving an overwhelming volume of user feedback, error logs, and varied experiences. The hard part is not gathering feedback, but applying rigorous judgment to filter out noise and identify the actionable signals that truly dictate development priorities. He emphasizes that well-crafted benchmarks are powerful steering mechanisms for the entire ecosystem.

“SWE-bench very much set like a direction for model development in the industry,” Alex observes, arguing that while outlining action points is valuable, “even better would be then like to kind of try and sort of take that and put it into some kind of like, you know, like eval that is sort of repeatable and it’s like a deterministic measure of progress.” Creating such deterministic benchmarks converts messy real-world user journeys into dependable guardrails that developers can track consistently over time.

[01:04:06](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3846s) The Human Alignment Behind SWE-bench Verified

John Yang connects Alex’s points to the creation of SWE-bench Verified, an effort coordinated in partnership with OpenAI’s Preparedness team. While automated model prompts can generate rubrics and synthetic test descriptions cheaply, those synthetic outputs mean nothing without reliable ground-truth human signal. OpenAI’s team led an extensive human annotation pipeline to recruit vetted annotators, formalize clear grading rubrics, and inspect tasks individually to confirm they tested legitimate software engineering abilities.

John explains that as engineering tooling makes text and code generation inexpensive, the researcher's role shifts toward that of an orchestrator who designs automated pipelines while retaining the ability to zoom in on individual edge cases. “SWE-bench Verified, beyond it just being sort of the 500 split that everybody reports performance on, I think it set like a—it is kind of in some sense you could think of it as like an alignment project of like, well, do I care about this test? Like is it aligned with—is it testing what I actually care about?” In software evaluations as in safety or Constitutional AI, tasks rarely have a purely objective, black-and-white ground truth; deciding what deserves to be measured requires explicit human value judgments.

```mermaid flowchart TD accTitle: SWE-bench Verified Alignment Workflow accDescr: Diagram illustrating the progression from real-world GitHub data to a verified deterministic benchmark. subgraph DataSourcing["Data Sourcing & Orchestration"] A["GitHub Issues & Pull Requests"] --> B["Automated Setup & Orchestration"] end subgraph Verification["Human-in-the-Loop Verification"] B --> C["OpenAI Preparedness Team & Annotators"] C --> D["Rubric Development & Manual Review"] end subgraph FinalBenchmark["Authoritative Benchmark"] D --> E["SWE-bench Verified (500-Task Split)"] E --> F["Deterministic Progress Signal"] end ```

[01:06:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=3992s) Audience Q&A: Validating the Verifier and Establishing Authoritative Metrics

An audience member asks about handling non-deterministic evaluations, such as using LLM judges or testing agents inside complex simulated environments like a Pokémon game world. The questioner asks how researchers ensure that their verifiers and environments are valid and deterministic rather than vulnerable to model bias. John summarizes the dilemma: generating sprawling game worlds and tasks is easy, but verifying that the environment actually tests meaningful, difficult behavior is much harder.

Carlos Jimenez acknowledges the fundamental challenge, explaining that no metric has intrinsic authority until users thoroughly review its inputs and outputs. He recalls that when SWE-bench first emerged, community members frequently misread the initial low numbers or assigned arbitrary meaning to raw percentages. Carlos argues:

> “And I think ultimately the most important thing is just that that metric kind of correlates with when humans look at the outputs, do they agree that it’s like a valid metric, right?”

He notes that researchers can reduce variance empirically by constructing multiple candidate evaluation environments, benchmarking them against one another, and measuring which setup reliably produces lower-variance, trustworthy results that human developers find credible.

- **Perception of baseline scores**: High numbers like 90% or low single-digit baselines are meaningless in isolation unless stakeholders understand the ground truth behind the task harness. - **Empirical variance reduction**: Comparing parallel validation setups helps detect whether instability stems from the agent, the prompt, or the test harness itself.

[01:10:06](https://www.youtube.com/watch?v=heiGKFgvJvk&t=4206s) Identifying Signal Sources and Avoiding "Vibes-Based" Eval Design

Alex expands on the need for disciplined workflows when building evaluations with non-deterministic language models. He urges developers to be crystal clear about exactly where their evaluation signal originates. For instance, in automated repository setup, LLM agents can handle non-critical mechanical tasks like environment installation—which can be deterministically verified using unit checks and dashboards. However, the true evaluation signal must still derive from rigorous human-authored tests or formal quality assurance audits like SWE-bench Verified.

Alex warns against casually co-designing benchmarks in an ad-hoc conversational loop with an LLM without strict evaluation protocols. When teams build evaluations by casually prompting a model back and forth, they end up relying on superficial "vibes" rather than concrete, repeatable measurements. Designers must map out all sources of environmental noise and maintain a rigorous high-level specification so that the resulting benchmark provides a genuinely reliable assessment of agent performance.

[01:11:34](https://www.youtube.com/watch?v=heiGKFgvJvk&t=4294s) Designing Evals Like Classroom Exams

Reflecting on how to construct meaningful evaluations, Alex Wettig draws an analogy between benchmark creation and academic test design. Without clear, intentional planning upfront, whatever evaluation you end up with is likely accidental rather than rigorous. He explains that evaluating a model shares fundamental qualities with writing an exam or a homework assignment for students: there is rarely a purely objective formula to determine what makes a test question great, yet experienced educators immediately recognize good questions and can easily spot flawed ones.

As Alex Wettig explains: “I also think in a way an eval is a little bit like an exam, right? So like thinking about what makes a good exam for humans, for like a class or like what makes a good homework exercise or something I think can also help because there's also like no objective way of deciding what a good exam question is, but you still kind of see it and know it and you know what like bad questions are.” Having an intuitive, qualitative sense of what constitutes a fair, discriminative problem is just as crucial as the underlying mechanical scoring harness.

[01:12:14](https://www.youtube.com/watch?v=heiGKFgvJvk&t=4334s) Open Questions for 2026: Personalization, Control, and Extended Horizons

An audience member highlights a question from Carlos Jimenez’s original 2023 planning document—*“what becomes feasible with super long context models?”*—and asks what equivalent question keeps the panel up at night in 2026. John Yang takes the floor first, pushing back on the notion that coding evaluation is essentially solved or that the field’s intellectual books are closing. Instead, he sees the next horizon centered on deep personalization, tailoring, and maintaining human agency. He recalls that when the team originally conceptualized SWE-smith two years earlier, they debated whether the future belonged to a single massive model that rules everything or lightweight models heavily fine-tuned for specific software ecosystems, such as a maintainer specializing entirely in SymPy.

```mermaid flowchart TD accTitle: Evolution of AI Evaluation Frontiers accDescr: Diagram tracing the progression from deterministic coding tasks to personalization and long-horizon autonomy.

subgraph Horizon2023["2023 Benchmark Frontier"] A["Long Context Models"] --> B["SWE-bench Issues & PRs"] B --> C["Deterministic Unit Tests"] end

subgraph Horizon2026["2026 Emerging Frontiers"] D["Multi-Step Personal Agents"] --> E["High Customization & Tailoring"] E --> F["Loss of Control & Autonomy Risks"] G["Instrumental Computer Use"] --> H["Multi-Week Extended Execution"] end

Horizon2023 -.->|"Rapid saturation & scaling"| Horizon2026 ```

John expresses apprehension over how rapidly tech companies are launching personal agents that integrate into intimate digital workflows, noting that empowering the user without surrendering autonomy remains an unsolved challenge. As John Yang puts it: “I think like you see a lot of the companies kind of breaking into personal agents these days. It's a little bit scary. I think there's a lot of interesting regulations that hopefully co-evolve with like making sure that when I open up Muse or Instinct and I connect my email and my bank account and my Etsy and my, you know, everything that like, you know, things that I stay in the driver's wheel.”

Turning to the broader capability landscape, Carlos Jimenez observes that models have leaped forward dramatically, making it easy to assume few hard problems remain. However, he suggests the real frontier lies in understanding what emergent capabilities—such as advanced computer use—actually unlock instrumentally beyond simply moving a mouse or clicking buttons in a sandboxed operating system. Alex Wettig adds that as models begin clearing SWE-bench tasks within days or hours of processing time, the benchmark inevitably approaches saturation. He argues that researchers must now examine what happens when models are run to their fullest potential across multi-week horizons on truly complex software engineering endeavors.

- **The Monolith vs. Specialist Debate**: The team’s motivation for SWE-smith originated from questioning whether developers need an all-encompassing foundation model or focused models adapted to private repositories and specific packages like SymPy. - **Autonomy and Risk**: Personal agents integrating across financial accounts, email, and consumer platforms raise critical governance issues around user empowerment versus loss of control. - **Extended Compute**: With benchmarks like SWE-bench becoming solvable within days of automated compute, evaluation must pivot toward what models can accomplish over weeks of sustained execution.

[01:17:25](https://www.youtube.com/watch?v=heiGKFgvJvk&t=4645s) Evaluating Multi-Step Interaction and Subjective Tasks

For the final audience question, an attendee asks how verification methodologies must adapt when benchmarks move away from deterministic unit tests toward subjective, tailored, or open-ended multi-step interactions between humans and models. Alex Wettig points out that evaluating an iterative, multi-turn back-and-forth scenario is vastly more ambitious than the static problem-patch paradigm of SWE-bench. In modern post-training and reinforcement learning workflows—such as Group Relative Policy Optimization (GRPO) styles applied to coding agents—models are trained to navigate entire trajectory paths toward verifiable goals, but interactive multi-turn evaluation remains an active challenge.

Carlos Jimenez notes that this challenge intersects several distinct research threads: continuous learning in machine learning, handling subjective human preference, and building reproducible capability benchmarks. While academic researchers have investigated these topics individually, finding the right structured data source that encodes strong, reliable ground truth remains the primary bottleneck for new benchmarks. The session wraps up with Alex suggesting that while existing agent testbeds provide partial sandboxes for these questions, the ideal benchmark for open-ended, interactive software engineering is still waiting to be built. John Yang closes the lecture by thanking Carlos and Alex, inviting the Stanford audience to give the SWE-bench co-creators a final round of applause.

As Alex Wettig summarizes regarding interactive evaluation setups: “I essentially think like you're basically imagining like an evaluation setting that is sort of as a paradigm like much more ambitious than like how something like SWE-bench works, right, because it's interactive, it's over multiple steps.”

## Notable quotes > [24:46](https://www.youtube.com/watch?v=heiGKFgvJvk&t=1486s) I think one thing that was really great about SWE-bench is that it was like a distribution of problems that we could not have hand authored ourselves. — Alexander Wettig

> [40:32](https://www.youtube.com/watch?v=heiGKFgvJvk&t=2432s) if the model is smart enough to figure out the environment for itself, often times minimal harness is frequently the best kind of thing. — Carlos Jimenez

## Mentioned SWE-bench, John Yang, Carlos Jimenez, Alexander Wettig, Stanford CS329Z, Terminal-Bench, Anthropic, Princeton University, Cursor, GPT-4, Needle In A Haystack, HumanEval, LeetCode, SWE-bench Verified, SWE-bench Pro, MMLU, SWE-Llama, scikit-learn, numpy, transformers, SWE-smith, Karthik Narasimhan, Figma, Matplotlib, SWE-bench Multilingual, Conda, Docker, Slurm, Cognition, Devin, Kilian Lieret, InterCode, Ofir Press, SWE-agent, Shunyu Yao, ReAct, mini-swe-agent, OpenAI Codex, Claude Code, Claude 2, Tau-bench, OpenAI, SymPy, Muse, Instinct, Etsy, Group Relative Policy Optimization (GRPO)

## Video description Browse Stanford's online courses in Agentic AI: https://stanford.io/4AIRb2z

How do you build a benchmark that changes how a field measures coding agents? In this Stanford CS329Z: Engineering AI Agents guest lecture, SWE-bench co-creators Carlos Jimenez and Alexander Wettig join course instructor and fellow co-creator John Yang to trace the evolution of coding evaluations: why GitHub issues and pull requests make natural test cases, launching with a top score of about 2%, building execution environments by hand, and how SWE-agent and SWE-bench Verified followed. They close with the future of evaluations for coding and beyond, from building evals with coding agents to deciding what is worth measuring next.

Key questions answered in this lecture: Q: How was SWE-bench created? A: Carlos explains that GitHub issues paired with the pull requests that fixed them form natural problem-label pairs; the idea came together quickly, and most of the labor went into building environments to test model outputs.

Q: Did memorization affect SWE-bench results? A: Alex says the team worried models would regurgitate memorized fixes from public GitHub data, but models performed poorly at first and later improved in other ways than reproducing the solutions.

Q: Why did SWE-bench Verified come about? A: John describes SWE-bench Verified, built with OpenAI's Preparedness team and human annotators, as an alignment check on whether each task tests what you care about; it produced the 500-task split people report.

Q: Why have coding agent harnesses become simpler? A: Carlos says early SWE-agent needed heavy prompting and safeguards to steer chat models in a terminal; as models were trained for this, minimal harnesses often became the best choice.

Q: How should you use coding agents to build an AI benchmark? A: Alex recommends building interfaces and dashboards that let agents report back, spot-checking logs, and asking which errors occurred and how agents fixed them, so data quality is not compromised.

Q: How do you know an AI evaluation metric is meaningful? A: Carlos argues a metric earns authority when humans who inspect the outputs, both positive and negative, agree it is valid; variance can be reduced empirically by comparing alternative environments.

Chapters: 0:00 Introduction and session format 1:25 Guest introductions: Carlos Jimenez, Alex Wettig 2:32 Coding and long-context evaluation in 2023 5:36 Why GitHub issues and pull requests 8:10 Memorization concerns and the 2% baseline 15:35 Building SWE-bench environments by hand 24:54 Sourcing verification from real pull requests 30:14 How SWE-bench was adopted after release 37:46 From benchmark to harness: SWE-agent 44:29 Research habits and collaboration 47:56 What is worth measuring next 53:52 Audience Q&A: Building evals with coding agents 1:06:25 Audience Q&A: Validating evaluation metrics 1:12:09 Audience Q&A: Open research questions for 2026

About the speakers: Carlos Jimenez is a co-creator and co-first author of SWE-bench, the widely used benchmark for whether language models can resolve real GitHub issues. He completed his PhD at Princeton University, where his research focused on evaluating language models and agents, and he continues to work on evaluations as a researcher at Anthropic.

Alexander Wettig is a co-creator of SWE-bench and works on pre-training at Anthropic. During his PhD at Princeton University, advised by Danqi Chen, he focused on language model pre-training, data curation, and long-context training. He previously spent a year at Cursor.

John Yang is a Computer Science PhD student at Stanford University focused on coding agents. He is a lead creator of SWE-bench and of SWE-agent, an open-source agent for autonomous software engineering, and first author of SWE-smith.

Readings: - Jimenez et al., “SWE-bench: Can Language Models Resolve Real-World GitHub Issues?” ICLR (2024)

Course website: https://cs329z.stanford.edu/ Watch the full CS329Z playlist: https://youtube.com/playlist?list=PLPRcF5HR02_U&si=3Z4OYphngcmQ0GIy

Recorded 11/16/2026 in CS329Z: Engineering AI Agents, a graduate course at Stanford University taught by Diyi Yang, Michael Ryan, and John Yang.

#SWEbench #CodingAgents #AIEvals

[Source](https://www.youtube.com/watch?v=heiGKFgvJvk)

Reading summary

SWE-bench co-creators Carlos Jimenez, Alexander Wettig, and John Yang argue that meaningful progress in autonomous coding agents requires evaluating models on real-world engineering artifacts rather than synthetic puzzles. By pairing GitHub issue descriptions with merged pull requests inside deterministic execution environments, the benchmark shifted AI evaluation from single-turn code generation to grounded, multi-step problem solving. Grounding Evaluation in Open-Source Git History (5:36) In mid-2023, language model evaluation was dominated by synthetic tasks like Needle In A Haystack and function-level completion benchmarks like HumanEval. Context windows had just expanded from 1,000 tokens up to 100,000 tokens, but researchers lacked realistic benchmarks to test whether models could process large files or complete codebases. Carlos Jimenez realized that open-source repositories already contained an ideal, natural data structure: bug reports and feature requests paired directly with human-verified solutions in merged pull requests. Harvesting problem-patch pairs directly from GitHub captured an organic distribution of software engineering challenges across diverse Python domains that a single research team could not have hand-authored. The setup eliminated the need for artificial rubrics and ensured the benchmark reflected real-world development workflows, while the paired unit test suites provided automated ground-truth verification through FAIL_TO_PASS and PASS_TO_PASS test splits. The Engineering Reality of Environment Construction (20:23) While formulating the benchmark took mere minutes on a whiteboard, implementing reproducible environments required months of manual labor. Because SWE-bench evaluated real historical pull requests, the team had to recreate historical dependencies, such as three-year-old versions of NumPy with obsolete C libraries that failed under modern package managers. The team also had to write custom harnesses to parse disparate testing frameworks and work around unexpected system limitations, including an obscure Conda bug that truncated environment paths longer than 128 characters. The authors emphasize that raw data inspection and manual debugging are essential when designing evaluations. Missing system packages or broken dependencies routinely produce false 0% model scores that mask underlying reasoning capabilities. John Yang notes that while modern coding agents can automate environment configuration—as demonstrated in his later project, SWE-smith—the original SWE-bench required hand-resolving every dependency barrier across repositories like scikit-learn and transformers. Validating Baselines and Shrinking Agent Scaffolding (12:03) When SWE-bench launched, top frontier models achieved a solve rate of only 1.96%. Far from signaling failure, Wettig notes that a ~2% score confirmed the benchmark had real structure rather than silent environment bugs or zero-shot memorization. To verify the benchmark measured genuine reasoning rather than retrieval noise, the team introduced an oracle ablation: providing only the exact files modified by the gold patch produced a substantial performance lift, proving that localization was a primary bottleneck. As agent design progressed, the external scaffolding required to run models in terminal environments shrank. Early systems like SWE-agent used heavy harnesses with synthetic prompt injections to steer conversational chat models away from syntax errors and empty Unix command outputs (such as silent success on rm -r). Over time, as frontier models underwent post-training for tool calling and terminal use, lightweight harnesses like mini-swe-agent replaced extensive scaffolding, with models internalizing basic command-line interactions into their weights. Open-Source Maintenance and Human-in-the-Loop Alignment (64:06) SWE-bench achieved broad industry adoption after Cognition featured it as the central evaluation metric for Devin in March 2024. Sustaining this adoption required roughly a year of continuous open-source maintenance. The team containerized fragile environments into standardized Docker images, stabilized interactive REPL loops, and resolved community-reported environment breaks. Scaling benchmarks also exposed the limitations of purely automated scraping. To address alignment discrepancies and task ambiguities, the creators partnered with OpenAI's Preparedness team to build SWE-bench Verified. By deploying vetted human annotators under formal grading rubrics to inspect 500 task instances, the project filtered out unaligned or underspecified tasks, illustrating that automated evaluation pipelines ultimately require explicit human value judgments to serve as reliable standards. As frontier models approach saturation on SWE-bench Verified, the creators identify unresolved frontiers for evaluation design: assessing sustained autonomy over multi-week compute horizons, evaluating personalized agents without sacrificing user control, and developing verifiers for interactive, multi-turn dialogues where deterministic unit tests do not exist.

Source quotes

[24:46] Alexander Wettig: I think one thing that was really great about SWE-bench is that it was like a distribution of problems that we could not have hand authored ourselves. [40:32] Carlos Jimenez: if the model is smart enough to figure out the environment for itself, often times minimal harness is frequently the best kind of thing.

Original transcript

[0:05] Hi everybody. Um yeah, it's very happy [0:07] to welcome you back to another CS 329 [0:10] lecture. Um today we have about like 80 [0:13] minutes, so I'm going to spend like the [0:15] first 60 minutes [0:16] we're going to have a guest lecture or [0:18] fireside chat from Carlos and Alex who [0:21] will introduce themselves very soon. Um [0:24] and I think this is going to be a really [0:26] fun lecture. I'm really excited. You [0:28] guys are going to get like a very very [0:29] deep peak into sort of the history of of [0:33] Swe Bench and sort of how what it took [0:36] for for the team to put together [0:38] benchmark that really just kind of [0:39] defined coding agent evaluations as you [0:42] know them today. So you heard from the [0:44] Terminal Bench team. The Terminal Bench [0:46] team drew copious amounts of inspiration [0:49] from the work that these guys did. So we [0:52] really do have like the OGs in the house [0:54] today. So I'm very very excited. [0:56] But yeah, and then I'll open it up to [0:59] 15 to 20 minutes of just open questions. [1:02] So you know very excited to hear what [1:04] you guys have to ask [1:06] these two great folks and yeah, we'll [1:08] just take it from there. Thank you so [1:10] much for coming. I know it's raining [1:11] today, so I'm very happy you guys all [1:13] decided to join. All right. [1:15] [clears throat] [1:15] So without further ado, I have a bit of [1:18] a script. We're going to go through it [1:20] and first and foremost I'll just let [1:22] these two wonderful folks introduce [1:24] themselves. [1:25] So yeah, let's start with [1:28] Carlos. Yeah. [1:30] >> Uh yeah, so thanks for for having us of [1:32] course John. [1:34] So my name is Carlos Jimenez. I did my [1:37] PhD at Princeton where I also we worked [1:39] on Swe Bench [1:41] together with John and Alex here. [1:44] I guess kind of finishing up [1:46] a little over a year ago now. But yeah, [1:50] I I've been working on evaluations for [1:51] most of my PhD I think and I still [1:54] basically do that now. So [1:58] >> Cool. Yeah, I'm I'm Alex. Um, I also was [2:02] a PhD student at Princeton. [2:04] Um, worked with these two great folks on [2:06] Swe-bench, and then afterwards [2:08] Swe-agent. [2:09] Um, my sort of main focus of the PhD was [2:12] more on like the training side. I did a [2:14] lot of work on like pre-training and [2:16] long context training. [2:18] And that was also kind of how I [2:20] initially got involved with Swe-bench. [2:22] Um, [2:23] and then after the PhD, I spent a year [2:25] at Kursor. [2:27] Um, and now I work at on pre-training at [2:31] Anthropic. [2:33] >> Cool. Thanks, guys. Yeah. So I guess [2:35] just to set the scene a little bit for [2:38] context, like Alex and Carlos were as [2:40] they mentioned, both PhD students at [2:41] Princeton. Um, yeah, I'm curious like [2:44] going back to kind of like May, June [2:47] 2023 before, you know, you guys came [2:50] together and we started working on [2:51] Swe-bench. Like yeah, what was the scene [2:53] like then, you know, in terms of [2:55] qualifying sort of how people were [2:57] thinking about evaluations, about code, [2:59] about long context, kind of everything [3:01] you guys mentioned. [3:02] >> Yeah. [3:03] >> Yeah. [3:04] Yeah, I'll I'll mention something. Um, [3:06] so [3:07] back in I think it was June I guess like [3:10] summer [3:11] spring summer 2023 [3:14] um, several models had come out that [3:16] were like much longer context. Back in [3:18] the time, 100,000 tokens was like [3:20] relatively long context and you were [3:22] kind of starting to push a bit beyond [3:24] that. [3:26] Um, I think even like the work that we [3:27] did initially I think was on like [3:31] um, with with Swe-agent or no, with [3:34] Swe-bench. I think those baselines were [3:36] with like the the 32,000 token GPT-4 [3:38] model [3:39] which was like that was a long context [3:41] at the time if I'm remembering [3:42] correctly. [3:43] And um, [3:45] and there were a handful of [3:47] of Evals that people were using that [3:50] were evaluating these long context [3:51] models on. So if people remember like [3:54] needle in the haystack, those types of [3:56] you know, that was like one example. [3:58] There there there are other of course, [3:59] but but back then I think most of the [4:01] the long context examples were or the [4:04] long context evaluations were a little [4:07] bit toy or contrived. And I remember um [4:11] thinking a lot about [4:14] what you could do with a long context [4:16] model. And I think that was really that [4:18] was a little bit unclear with language [4:20] models at the time because we just we [4:21] had never really had that format before. [4:23] And I think yeah before John and I [4:26] started working on SWE-bench this kind [4:28] of general idea of [4:30] kind of thinking about what capabilities [4:33] long context would enable [4:35] um such as you know putting [4:37] large files or or full code bases into [4:40] into the context of the model and seeing [4:42] whether models could do that. [4:44] Um [4:45] uh and yeah and that was a like a little [4:47] bit of the pretext I think [4:49] for [4:51] uh like kind of leading up to that. In [4:52] terms of coding uh definitely the kind [4:56] of [4:57] um you know few-shot code completion or [5:01] like code correction evals like human [5:03] eval was obviously very famous. [5:05] Um [5:07] and other types of these kinds of coding [5:10] competition you know maybe like code [5:13] style uh style problems that was like [5:16] the state of the art in terms of [5:18] of evaluating language models for coding [5:20] specifically. [5:21] >> Yeah, makes sense. Yeah. [5:23] >> And people hadn't really thought of [5:24] agents. So like a lot of like a lot of [5:27] work was just sort of like a single step [5:29] of tokens in and then like you generate [5:31] you let the model generate and then like [5:33] you have some kind of evaluation [5:35] function. [5:36] >> Yeah, makes sense. So so I guess like [5:38] maybe a natural segue is then like what [5:41] what made GitHub issues kind of like the [5:43] right setting um to address kind of a [5:45] lot of these prior issues. Um you know I [5:47] think you guys had both done some [5:49] exploration in this space. Like there's [5:51] plenty of things that people have now [5:53] explored oh terminal bench or whenever [5:55] you know a lot of these kind of [5:56] different kinds of coding problems have [5:58] emerged but you know when you came upon [6:00] GitHub issues and PRs and that ecosystem [6:04] like what made it feel like the right [6:05] thing to act upon? [6:07] >> Yeah. Yeah. So, with any evaluation [6:10] historically, I think that [6:13] especially if you're kind of grabbing, [6:15] you know, from from from the internet [6:16] for data, which is that was the the [6:18] norm. It's still, you know, like popular [6:21] in in open source models of course, too. [6:23] And um [6:25] for any evaluation data set, you need [6:26] problems and you need like [6:29] you know, labels for that problem, [6:30] right? And that that's like the general [6:32] structure of of of finding [6:35] you know, for for for training data, for [6:37] evaluation data, for any type of data [6:39] that you have. And I think until that [6:41] point, nobody had really [6:43] just [6:44] put those two things together. I think [6:46] that in some respect, I think that [6:48] Sweebench [6:49] would have been inevitable, right? Like [6:52] the the source of problem and label [6:54] pairs that that naturally are are [6:57] structured in [6:58] issue pull request pairs in GitHub was [7:01] just like an open [7:03] um an open source of of like very high [7:06] information rich uh [7:09] data that was on the internet. And [7:12] um [7:13] and I think it really just kind of [7:16] took a little bit of thought to realize [7:19] that you could use this for like any [7:21] other machine learning problem that, you [7:23] know, this kind of structure of data. Um [7:26] it was more ambitious than like [7:28] previously things that people had done, [7:29] which were again more like these lead [7:31] code style of problems. [7:33] But [7:34] as as models were getting better, this [7:37] natural structure of like question [7:40] answer pairs uh [7:42] through issue pull request was was just [7:46] out there in the open, you know what I [7:47] mean? [7:48] >> Makes sense, yeah. And then Alex, to [7:49] follow up, like did you potentially have [7:52] any like concerns about this kind of [7:53] data? You know, like I mean, now plenty [7:56] of works have maybe sort of like pointed [7:58] out issues with Sweebench or whatever, [8:00] but do you feel like there were kind of [8:01] things that maybe stood out at the time [8:03] of like, yeah, this feels like a pretty [8:05] promising data set to try to act on, but [8:08] like here are the things that we want to [8:09] watch out for or here are some kind of [8:12] meaningful open sub-questions. [8:15] >> Um it's I I remember the moment when [8:18] like um [8:20] the two like Carlos and John had finally [8:22] collected all this data. It was a very [8:23] large pipeline. It took a long time [8:25] until you know all the issues were [8:27] actually grabbed and like you had to [8:28] store all these repositories and we were [8:31] kind of working with like academic [8:32] infra. So um it really like once we [8:36] finally had the task types kind of [8:38] together in a shape where like we had [8:40] the problems and when then we gave the [8:41] problems to the model and like we really [8:44] had no good sense of how good the models [8:47] would be on this. It was kind of [8:49] uh and uh you know some people [8:52] maybe we would have expected like 0% [8:54] because it seemed very hot to us, but um [8:57] the thing we were very worried about is [8:58] that you know models would have just [9:00] seen these types of problems during [9:03] training and because it was data that [9:05] was out on the internet, it was a lot of [9:07] historical data and then they could just [9:09] regurgitate perfect solutions. Basically [9:11] this was you know without any reasoning [9:13] just zero shot um [9:16] produced the perfect kind of ground [9:18] truth sort of diff. [9:21] And um well sort of it turns out that [9:23] didn't happen. Um models were actually [9:25] really really [snorts] [9:27] sort of poor at this. I I think you know [9:29] the memorization concerns have been [9:31] flagged many many times. I I think it's [9:34] very interesting. I think by this point [9:37] I think it's like [9:39] if you sort of treat it internally as a [9:41] benchmark that you think is useful and [9:42] you want to actually climb with your [9:44] model development, you would probably [9:46] like be careful not to train on this [9:48] exact sort of data, but it's obviously [9:50] possible with any kind of benchmark that [9:52] is public that like you can you know get [9:55] technically 100% on it or like a high [9:57] enough number that like seems believable [10:00] by just training on it. Um [10:02] I I I think one thing that I think is [10:04] interesting is that like to get the data [10:07] it just took like a little bit of extra [10:09] kind of infra pain and the way that like [10:11] the GitHub API was set up because you [10:12] had to get all the issues and then you [10:15] had to get all the PRs and only if you [10:17] had these two kind of complete sets [10:19] could you do some kind of linking on [10:21] sort of which issues were related to [10:23] which pull requests. And I sometimes [10:25] think if like GitHub had structured the [10:26] data in like an easier way like if it [10:28] had been like a very simple API for like [10:31] okay here the issue links to this pull [10:32] request like the models would have [10:35] pre-trained on this and it would have [10:37] been like completely memorized. [10:39] But yeah I think empirically that didn't [10:42] really happen. Models were very bad at [10:44] this and then [10:46] they also got better in different ways [10:48] than just regurgitating the solutions I [10:50] would say. [10:51] >> Makes sense. Yeah. No yeah this is [10:53] great. I guess just to kind of like [10:55] carry along so like everybody in this [10:57] class was like quite familiar with Swe [10:59] Bench now I think maybe to to [11:02] to the annoyance of the students but we [11:04] appreciate it. [11:05] But yeah just to kind of transition and [11:07] set the context a little bit like as [11:09] Carlos was mentioning like certainly Swe [11:11] Bench was [11:12] one work that led to a whole explosion [11:15] of these prefixed with Swe kind of works [11:17] and so the impact is there and I think [11:19] the things that Carlos and Alex have [11:21] talked about very early on they foresaw [11:24] kind of a lot of the the the things that [11:26] kind of panned out of like okay what [11:28] about the issues with kind of alignment [11:29] and that's where Swe Bench Verified got [11:31] introduced. What about harder tasks? [11:33] That's where Swe Bench Pro got [11:35] introduced. Can you potentially [11:36] manipulate GitHub in different ways and [11:38] I think this was like a big question the [11:39] three of us were asking ourselves. Swe [11:42] Bench was kind of like the most [11:43] straightforward in some ways to sort of [11:46] like compose data on GitHub. But there's [11:48] a lot of excellent follow-up. So to [11:50] transition a little bit I think students [11:52] are quite familiar with [11:55] the task formulation but [11:57] at the time when we launched it as both [12:00] Carlos and Alex mentioned the models [12:01] were not that good. [12:03] So in some sense in this class we've [12:05] kind of talked about the merits behind [12:07] what kinds of benchmarks to build and [12:09] sort of the qualities that you want. The [12:11] best model was 1.96% [12:13] in terms of performance, right? Did that [12:16] scare you guys in any way? Did you feel [12:18] like, oh man, like you know, if it's [12:20] only 2% like how the heck is a model [12:22] going to hill climb this? You had like [12:24] MMLU, which is like a way simpler task [12:26] and even then it was like 40 50% like I [12:29] guess what kind of gave you the [12:30] confidence because we all kind of agreed [12:32] right after Swe Bench that we're going [12:34] to keep pushing this that like this [12:35] wasn't too hard or too too scary of a [12:38] benchmark to do. You know? [12:41] >> Yeah. I remember when we first got [12:45] like the initial results, which was [12:47] basically the 2% number, maybe on like a [12:49] subset of the of the initial data. And [12:51] that was really exciting because I think [12:53] getting 2% on a benchmark is is is much [12:56] more exciting than getting 0% [12:59] because if you get 0% then [13:01] you know, just empirically you probably [13:03] have like a bug or you have to do more [13:04] work to like figure out what's going on. [13:07] But also [13:09] I think it means that there's kind of [13:10] something some structure there for [13:13] models to like grasp on to. I think it's [13:14] really it's pretty hard these days to [13:16] get something to get benchmarks that are [13:19] are are so difficult where models [13:22] are just kind of barely on the rung [13:24] ladder for for [13:27] for for kind of you know, hill climbing [13:29] or something. But [13:33] um [13:35] it it was [13:39] I at least my impression [13:41] was that [13:42] it was such a natural like [13:45] formulation like problem formulation [13:48] and the data was going to be out there [13:50] and like especially with terminals and [13:54] and other kind of responsive [13:55] environments that are relatively [13:58] deterministic [14:00] that this was going to like work [14:01] somehow. And and I think I had like very [14:03] I think we had very high confidence like [14:05] early on that that [14:07] that like something like coding agents [14:09] was going to was going to kind of be a [14:12] real capability that models could grasp [14:14] on to. Yeah. [14:16] >> If I [14:16] >> If I would add anything that's like if [14:18] you if you read the paper, [14:19] um try very hard. It's I think, you [14:22] know, benchmarks are some of like the [14:23] most impactful ways to have impact via [14:26] like a paper, but it's hard to like sort [14:29] of write a paper like an eight-piece [14:31] artifact that like makes a compelling [14:33] case that this is a good benchmark and [14:35] you just didn't just, you know, you just [14:36] threw some some kind of data together or [14:38] like it's hard to communicate that. And [14:41] um [14:42] so I think what helped us as well to [14:45] specifically what reviewers commented on [14:47] in the in the SWE-bench reviews. I don't [14:49] know if they're public by the way, but [14:51] um [14:52] um we had all these extra analyses where [14:55] we broke down the problem and we [14:56] sometimes provided the model with [14:58] exactly the right files only, kind of [15:00] the ground truth files where we knew [15:02] from like the gold patch that those [15:04] files were important for the answer. [15:06] And that lifted the solve rate [15:09] uh which then gives extra signal that [15:11] like this is a very challenging task, [15:13] but if you do simplify it, models are [15:15] more likely to do it. [15:16] Um and similarly with SWE-Llama, which [15:19] is um what we trained as part of the [15:20] project to sort of train on the [15:23] distribution [15:24] of SWE-bench problems, we also saw that [15:27] like in this kind of like oracle setting [15:29] of providing the right files, it [15:30] actually gave a big lift and we were [15:32] able to beat some of the some of the API [15:35] models. [15:36] >> Yeah. Yeah, for sure. Makes sense. These [15:38] are great. Thanks, guys. So I guess just [15:40] to dive into it a little bit, we kind of [15:42] people know the the task, people know [15:44] the numbers. Um I think uh today's like [15:48] a really fun opportunity where I'd love [15:49] to hear from you guys about just kind of [15:51] like the execution, right? So for [15:53] context, I think folks in this class are [15:55] working on homework two right now and [15:57] you guys are building your own benchmark [15:59] tasks and your evaluations. Um and so [16:02] yeah, do you guys want to kind of [16:04] recount like sort of like um I guess [16:06] just to kind of set the slide like we [16:08] were working in Princeton. Actually, we [16:10] were working in Princeton over the [16:12] summer and if you guys want to provide [16:13] extra context, Princeton was like under [16:16] construction at this time. So there was [16:18] just plenty of like drilling and loud [16:20] noises happening during the day. But you [16:22] know, the three of us, it was a very [16:23] very fun team. And so we kind of sat [16:25] here. Um and and uh Carlos and I and and [16:29] Alex, we had all kind of like thought [16:31] about different versions of this idea. [16:32] So this screenshot on the left is from [16:35] Carlos's notion doc um which he's kind [16:38] enough to share um that had sort of this [16:40] very early concept of Sweep Bench in [16:42] there like very very far back even [16:44] before you know like a lot of people had [16:47] thought about these things. And at some [16:48] point like after talking with Carlos and [16:51] Alex and getting some inspiration like [16:52] you know I was like looking on GitHub [16:54] and I kind of sent the two of them like [16:56] I think this scikit-learn issue kind of [16:58] matches sort of what you're looking [17:00] about. Um but I guess like the lead into [17:02] this question um and then you know we [17:04] kind of set up the group and everything [17:06] um and on day one uh this is a little [17:08] bit hard to read but there was like a [17:09] whiteboard and like the three of us we [17:11] kind of looked and we kind of wrote [17:12] everything down. So um sort sort of to [17:15] set up the question the that the idea [17:17] actually just took a day to be honest. [17:19] Like I think like you know very very [17:21] quickly or maybe a little more than that [17:23] uh we kind of knew what the task [17:25] formulation should look like. Um but can [17:27] you guys provide some more insight into [17:29] you know and eventually it did take us [17:30] like three to four months to put out [17:32] this thing like yeah what did that [17:34] journey look like? What was difficult [17:36] about it? What was like important? What [17:38] what took more time than you thought it [17:40] you know it would you know anything [17:42] along those lines? Yeah. [17:44] Yeah. [17:44] >> So what was really fast I think about [17:46] Sweep Bench was um [17:48] uh [17:49] was I think like John and I had had [17:52] maybe very you know [17:54] big notions of of this something along [17:57] the shape. And I remember we I started [17:59] talking with John and in one discussion [18:01] and I do think once the once the ball [18:04] got rolling after just even a few [18:07] minutes of talking I think within maybe [18:11] 15 minutes or something the whole [18:13] structure was very very clear. Uh [18:16] at least to me it was very clear to me [18:17] that this was going to like that this [18:19] was like a very promising route. And [18:22] that's because of the structure of the [18:23] data. You have like [18:26] uh a huge trough of problems [18:29] uh [18:30] even like with you know timestamps and [18:32] all of this dated information um with [18:35] basically like expert driven human [18:39] you know human input uh [18:41] solutions through the pull requests. [18:45] And that is [18:47] in in machine learning in a broad sense [18:50] that's kind of canonical in terms of [18:53] like valuable sources for for for [18:55] training data or for for you know for [18:58] evaluations of course in our case but [19:00] um [19:01] and and I think that [19:05] that that yeah that very natural [19:06] structure I think was was very clear [19:08] from the beginning. And and John and I [19:10] when we when we first like [19:13] when we first started to talk about it I [19:15] think within yeah within 15 minutes it [19:17] was very clear what was going to happen. [19:18] Um and then we we kind of quickly got to [19:21] work. I actually think the whole period [19:22] in time um I think I think I feel like [19:25] John was a little bit less worried than [19:27] I was but I was so worried about getting [19:29] like getting scooped because I thought [19:31] the idea was very clear. [19:33] Um and I think yeah immediately we kind [19:35] of just sat down and started uh [19:39] started doing the work to collect [19:42] the to like build the environments where [19:45] you can compare um model outputs with [19:48] human labels. And that was kind of the [19:51] necessary like labor to do was [19:53] essentially in this environment [19:54] construction. [19:55] Um [19:57] yeah I don't know. [20:00] >> Um [20:01] I guess the yeah the hardest I I think [20:04] the [20:05] I I think actually John you were like [20:07] the biggest sort of um [20:09] contributor there of just setting up the [20:11] environments installing like for example [20:14] there were like lots of candidates at [20:15] some point we considered NumPy. [20:17] >> Yeah. [20:17] >> Uh NumPy. [20:18] >> do Transformers Hugging Face [20:20] Transformers. [20:21] >> Hugging Face Transformers. Um so like [20:23] the set of repositories was a little bit [20:25] kind of hand-picked. [20:26] And um, [20:29] NumPy has [20:30] very complicated C dependencies and some [20:34] of the historical dependencies are also [20:37] not even super well supported anymore. [20:39] And uh John was like digging through all [20:41] these logs of trying to install [20:43] basically three three year old NumPy [20:45] versions. And then you know, sometimes [20:47] it will work, some pipeline would work [20:49] for like more recent issues, but not [20:51] really for old PRs and [20:54] um, [20:55] and even like passing out the various [20:57] testing frameworks like [20:59] you know, I think there was a lot of [21:00] very good code [21:02] >> Yeah. [21:02] >> that was written. [21:03] Um, and you encounter all these edge [21:06] cases. I think that like like the main [21:08] idea of Sweep bench seems really really [21:10] simple. I remember when Carlos first [21:12] pitched it to me, I was like this this [21:13] is this is great. [21:15] Um, but there are all these edge cases [21:16] that you encounter where like what [21:18] happens if you know, we have this notion [21:20] of like [21:21] fail to pass and pass to pass. What if [21:23] like certain tests are undefined because [21:25] they just like there's some environment [21:27] issue and they error because like some [21:29] dependency is defined. Like how if you [21:31] have like undefined dependency to pass, [21:34] like how do you deal with that? And I [21:35] think [21:36] talking through some of these edge cases [21:38] took some time. [21:39] Um, [21:41] I think uh [21:43] now [21:44] it's you know, because we have really [21:46] strong coding agents [21:48] doing a lot of this work becomes a lot [21:50] easier. And uh [21:52] like [21:53] maybe you should talk a little bit about [21:54] Swee Smith. [21:56] Has the class like have you guys gone [21:58] through Swee Smith yet? [21:59] >> in the data section. Yeah, yeah, they're [22:01] >> So um, you know, Swee Smith is very [22:04] inspired by the task format of Sweep [22:05] bench, which like John has this like [22:08] like automatic install kind of setup [22:12] where he takes the agent and puts it [22:13] into the environment and then [22:15] um, [22:16] the process of setting up the [22:17] dependencies and passing out the tests [22:19] and so on is just done by like a model, [22:22] an agent. And uh but that wasn't [22:25] available to us at the time. So we we [22:28] had to do that by hand, basically. [22:30] >> Yeah. I think yeah, thanks Carlos and [22:32] Alex. I think just to kind of show folks [22:34] here to kind of nail down the great [22:36] points that Carlos and Alex brought up. [22:38] We'd often do these kind of like [22:40] whiteboard sessions where we just [22:42] drawing out all these crazy diagrams. I [22:44] think [22:45] the point at the end of the day is like [22:47] like Alex said, you do have coding [22:49] agents. You should use them. [22:51] But nothing beats just like getting your [22:53] hands dirty. There's like a saying that [22:56] Carlos had that we we we'd kind of like [22:58] inspire each other. We'd say like trudge [23:00] through mud when it came to these like [23:02] very difficult moments. So when you guys [23:04] are building tasks and like you know, [23:07] this is like a very [23:08] compelling industry in many ways and [23:10] like at least for now, it looks like [23:12] it's here to stay. Like don't be afraid [23:14] to get your hands dirty. Don't be afraid [23:15] to go manual on things. [23:18] I think like yeah, when you are able to [23:20] figure out what that first task looks [23:21] like, unlike us at the time, you now [23:24] have coding agents at your disposal to [23:26] really automate everything. But yeah, I [23:28] just there were like plenty of late [23:30] nights the three of us did where we were [23:32] just kind of staring at these like [23:33] simple things. [23:34] >> There are also so many like long tail [23:36] issues with environments and like things [23:39] that can happen in the issue [23:41] in the PR that you might not discover if [23:43] you don't look at the data. [23:44] >> Yeah. [23:46] >> You know, to to be fair, we also you [23:47] know, we were on a tight deadline to get [23:49] this paper out. We like did some quality [23:51] assurance, but like three months [23:52] verified obviously helped us a great [23:54] deal. [23:56] >> Yeah, for sure. Yeah, okay, awesome. So [23:59] I guess like and then just to kind of [24:00] hash it out like for fun, like as Alex [24:03] mentioned when we got close to the [24:04] paper, you guys have probably all seen [24:06] like the nice beautiful version of the [24:09] diagram. I think this is Alex or Carlos [24:12] who like sketched this out. So this is [24:13] what it looked like before it became [24:15] this. [24:16] And so you know, there there's something [24:18] I think quite quite magical about just [24:20] sort of taking the time and the [24:22] attention to put together. [24:22] >> this figure for probably like multiple [24:24] days of like [24:25] >> Yeah. Yeah. There's like a I think we [24:28] can pull up. There's like a Figma where [24:30] we got critique from Karthik, our [24:32] advisor, and [24:35] of like, you know, we had this diagram [24:37] and then like 15 iterations later, it [24:39] kind of looked pretty much the same, but [24:41] it wasn't the same. And so, yeah, [24:45] exactly. [24:46] Yeah, great. So, um to to kind of move [24:49] on to the next question, students have [24:51] been kind of here exploring. Like last [24:53] lecture, we kind of talked about [24:55] verification. You know, like given this [24:57] sort of [24:58] task, you can maybe think about it as [25:00] this model of three components. You have [25:02] the problem statement. You know, we [25:04] talked plenty of things about paying [25:05] attention to the environment. Um in our [25:08] case, kind of unlike the works that came [25:10] after, like Terminal Bench where they [25:12] hand wrote the verification, hand [25:13] authored things, we chose to solicit [25:16] verification from the wild, right? Like [25:18] we kind of picked it out from the PRs. [25:20] Can you guys just maybe talk about sort [25:22] of why that was the decision? I mean, [25:24] like it wasn't like, [snorts] you know, [25:26] we were bucking the we were kind of [25:28] bucking the trend here. Like a lot of [25:29] prior evaluations maybe hand authored [25:32] their things, but there there's this [25:33] kind of choice to choose between the [25:35] two. How do you kind of like think about [25:38] given this task, given this environment, [25:40] like how do you even like think about [25:42] verification? Both grounded in the [25:43] experiences here, but maybe how that's [25:45] changed over time. [25:50] >> I'm trying to think. So, MMLU, I think [25:52] was similar [clears throat] to SWE-bench [25:54] and that it's like it was [25:56] sort of collected from the web with some [25:58] human quality assurance. [26:00] Um [26:02] I think [26:04] if you have [26:06] it very much kind of depends what you're [26:07] trying to target in your evaluation. Um [26:10] I think one thing that was really great [26:11] about SWE-bench is that it was like a [26:13] distribution of problems that we could [26:15] not have hand authored ourselves. Like [26:17] we probably have like a good amount of [26:19] expertise in Python and some machine [26:21] learning problems and training models [26:24] and, you know, distributed training or [26:26] something, but we don't know anything [26:28] about like the back end of Matplotlib or [26:31] something. And um [26:34] the fact that it's quite representative, [26:36] although it was Python to begin with, [26:38] like it was quite easy to then extend [26:40] that with speed bench multilingual. [26:42] Um [26:43] and the fact that it's like a very [26:44] representative set of problems and draws [26:46] from like the expertise of many, many, [26:49] like you know, thousands of programmers, [26:52] um I think is a big strength. Um but [26:55] then of course, if you look at terminal [26:57] bench four, which just has a focus on [26:59] science, like the kind of [27:01] contributor standards are incredibly [27:03] high and people come in from like a set [27:05] of different uh [27:07] backgrounds and expertise and they [27:09] manage to basically curate that and then [27:11] like can sort of because they know the [27:12] people who are writing this, they can [27:14] have even higher sort of annotation [27:16] standards because you know, we could [27:18] have never reached [clears throat] out [27:19] to the open source contributors and [27:21] asked them all of them like, hey, how do [27:23] you think about these different [27:24] solutions and so on. [27:26] Um [27:27] so there's a tradeoff there, but uh [27:30] I think uh there is a lot more attention [27:32] now focused on AI evaluation than there [27:35] was back then. [27:36] And in some sense, you know, [27:38] like John showed this sort of swee [27:40] explosion picture. Um like [27:43] a whole lot of like activity and [27:46] paid annotation and so has happened in [27:48] software engineering since speed bench. [27:51] So in some sense, like we didn't build [27:53] the perfect benchmark, but we were able [27:54] to kind of kick off [27:56] um like a a huge process. [27:58] >> For sure. Yeah. [28:00] Yeah, this thanks to Rishi as well who [28:02] kind of created this image of who [28:03] authored speed marathon, which is one of [28:06] the data points in there. But yeah, this [28:08] is great. So um kind of to move on from [28:11] sort of the execution itself, which you [28:13] know, there's plenty of now fun images [28:15] that we've seen. Um you know, we ended [28:18] up kind of like doing the Oh, this is uh [28:20] we'll we'll [28:21] we'll skip over this, but like just to [28:23] kind of hammer home, uh one of my [28:25] favorite bugs that I we kind of did with [28:28] Carlos and Alex was running to this [28:30] issue where we were creating the [28:31] environments with Conda, so we weren't [28:33] actually using Docker earlier on. We're [28:35] running into a bunch of failures and it [28:37] turns out the reason was that with [28:39] conda, if you created environments that [28:41] were longer than like 128 characters in [28:44] name, it would just start giving you [28:46] these random non-deterministic issues. [28:49] So the point is like [28:51] um you know as we kind of conclude this [28:53] segment of of our fireside chat, when [28:56] you run into like environment wrangling, [28:58] don't let that put you off. That's like [29:00] a very natural thing that would happen, [29:02] right? Like if anything it's indicative [29:04] that you're on the right path. Like you [29:06] you are doing something that's [29:07] interesting and tricky and it's good to [29:09] get into the weeds of it. Um but yeah [29:11] this is kind of like a fun instance [29:13] where there was like a bit of a Eureka [29:15] moment when we overcame that, you know. [29:17] >> Even go going back one slide [29:19] >> Yes. [29:20] >> to kind of go over what John mentioned [29:21] of trudging through mud. This is [29:23] probably John's computer, I think, where [29:24] we're we're trying to like fix eight [29:27] eight environments at once. Um [29:30] and you just have to go through all like [29:32] we did a lot of work, you know. John [29:34] especially in in in the end there, but [29:35] but uh [29:36] >> But yeah it was a great group effort, [29:37] yeah. So [29:38] >> We also tried to do it all on like a [29:40] Slurm cluster, [laughter] which did not [29:42] have support. [29:43] >> Yeah. [29:44] >> So a lot of we had to fight through a [29:46] lot of like non-root permissions, stuff [29:48] like this, you know. [29:49] Yeah. [29:50] >> What do you think like do you think the [29:51] original sweep bench was too big, John? [29:54] >> Yeah. [29:54] >> wanted to do 10,000 questions initially. [29:58] >> Yeah. [29:58] >> And then um [29:59] >> I was pretty on board with that, but I [30:01] think after we ran the benchmark for the [30:04] first time, I think the three of us were [30:06] like it wasn't so much the time, I think [30:08] it was just the price of it, which is [30:10] like totally dwarfed by what people [30:12] spend on evaluations now, but we had [30:14] spent like uh [30:15] >> of it has gone down a lot. [30:16] >> That's also true. That's also true. [30:18] Yeah. Yeah, that's great. Okay, so kind [30:21] of you know I think sweep bench like [30:23] clearly is one of those works that [30:25] achieved escape velocity, right? Like it [30:27] wasn't it wasn't just an I clear paper [30:30] at the end of the day. Um this was [30:32] something that like everybody had [30:33] adopted. And so kind of transitioning [30:36] from um you know in in June uh Carlos, [30:39] Alex, and I come together and we come up [30:41] with the idea. We're working on it. [30:43] Carlos had released it with a tweet in [30:46] September. [30:47] But then nobody had actually really used [30:50] it for the first couple months. And so [30:51] like can you guys kind of like walk me [30:53] through that transitory period of like [30:55] what was happening between like [30:58] September, October of 2023? And then [31:01] certainly like the big you know release [31:04] that led to Swe Bench being used a lot [31:05] was by the cognition folks when they [31:08] released Devon in March in 2024. Uh but [31:11] we certainly were still working on [31:12] things. So I guess like [31:14] curious if you could walk us through [31:16] kind of what was happening during that [31:17] period of time um and also just kind of [31:20] with respect to like you know beyond [31:22] sort of the Devon release like what [31:24] allowed this project to kind of have the [31:26] level of impact it had that sort of does [31:28] exceed sort of a a normal academic [31:31] paper. You know yeah. [31:33] >> Yeah. Um so immediately after the [31:36] release of Swe Bench [31:38] I think in some respects [31:40] you know there wasn't like immediate [31:41] kind of [31:42] the same level of attention which which [31:44] is is is [31:46] possibly expected. I think also a little [31:48] bit from you know from our profile and [31:50] that we hadn't done like [31:53] a ton of work like preceding Swe Bench [31:56] on exactly this. [31:57] Um [31:59] but in some I I in other ways I do think [32:01] that people picked up on the idea right [32:02] away. Like for instance the cognition [32:05] you know folks I do think when I was at [32:07] least in my conversation with them [32:11] kind of sound it sounded like they did [32:13] they saw the paper and it also clicked [32:14] for them that oh this is you know you [32:16] can do [32:17] some kind of AI driven coding product or [32:20] like [32:22] service that would be that would be [32:24] valuable. [32:25] And I think we we I think we also [32:26] thought the same thing coming from a [32:28] very different perspective in the [32:29] academic kind of world. um and I think a [32:33] handful of other other people started [32:34] working on it right away as well. [32:36] Uh I do think that the idea was quite, [32:41] was like somewhat inevitable. Like, it [32:42] would have happened one way or another. [32:44] I also think that it happened to be very [32:49] that what what really made it kind of [32:51] lift off was was [32:56] not coincidental, but just [33:00] given [33:01] the amount of like kind of given the the [33:04] general [33:06] I guess in hindsight it's obvious that [33:08] language models like like verifiable [33:10] problems that you know if you have [33:11] verifiable problems and like large [33:13] sources of data then you can kind of [33:15] train on this or you can like you know [33:18] improve your models on on that sort of [33:20] thing. [33:21] And I don't think that that is [33:23] it's in in in hindsight of course it's [33:25] easier to see that, but at the time [33:27] I think that [33:30] >> We we talked earlier [33:31] in the in the drive over and there was [33:33] no RLBR at the time. [33:35] >> Yeah. [33:36] >> Which was also kind of [33:37] weird to think back on, but [33:41] people mostly I think did just kind of [33:44] SFT things. [33:45] >> Yeah. [33:45] >> Yeah. [33:46] >> [snorts] [33:47] >> Before the advent of kind of like you [33:49] know rollouts and GRP and stuff like [33:52] that. Yeah. Yeah, no that's great. And [33:55] then like [33:56] you know like I guess after [33:59] Devon launched certainly there was like [34:01] a lot more interest. [34:03] Can you guys talk about sort of how to [34:05] facilitate that adoption or that [34:07] community that kind of started to [34:09] emerge? [34:10] Certainly like you mentioned Carlos like [34:12] one stem of it was from [34:15] the academic side of things, but [34:18] industry had picked up along it. We had [34:20] started a leaderboard. Like yeah, when [34:22] it comes to sort of like okay I've [34:23] created the task, I've proved that it's [34:25] useful, but what is it actually take to [34:28] foster that? Can you guys kind of [34:30] comment on that as well? [34:35] >> I mean I think a lot of community [34:37] engagement I think post Swebench [34:39] Swebench was was special in my in my [34:41] like career as a as a PhD student [34:44] in that [34:45] um it required an enormous amount of [34:47] community like labor like that you do [34:49] afterwards [34:51] um I think for like a solid year [34:53] at least after Sweetviz like we were [34:55] spending a lot of time doing open source [34:57] maintenance and and uh [35:00] and like you know maintaining [35:02] leaderboards [35:03] fixing bugs um maintaining a harness and [35:06] all of this other work we also did like [35:08] with with Killian and [35:09] and others we did this work around kind [35:12] of [35:13] um [35:14] making it easier to run the agentic [35:17] setting so [35:19] back then there weren't kind of [35:22] uh [35:23] I'm actually not I guess now I'm not I'm [35:25] not totally sure on on on how people run [35:28] like [35:29] the the agentic loop [35:31] in the open source now so to speak but [35:34] at the time there was definitely much [35:35] less support for that like you know like [35:37] John and I um I guess John had like done [35:39] some of the work with InnerCode before [35:41] but essentially kind of piping piping [35:43] language model outputs directly into a [35:45] terminal and and having this loop work [35:48] uh was a lot of work that we you know we [35:50] did on our own and that wasn't really a [35:51] thing before [35:53] um before InnerCode at least and then [35:55] like you know we we refined that process [35:57] a lot in in Sweet Agent as well [35:59] um and so yeah I mean I I suppose a lot [36:02] of uh a lot of a lot of community [36:04] support and making it easy for people to [36:06] run [36:07] uh making it actually like I guess [36:11] making like a good you know if you think [36:12] about it as like a product making a good [36:13] product that people [36:15] kind of uh [36:17] are are are are happy to you have a good [36:19] experience using so like good user [36:20] experience marketing also helps you know [36:23] well Fear was a great marketer for us I [36:25] think he had a lot of uh [36:27] >> Plenty of Twitter participation you know [36:29] for better for worse yeah that's right [36:31] yeah [36:34] >> I guess yeah you really put in like an [36:36] enormous amount of work afterwards to [36:38] make it easy to run and like convert [36:40] everything into standards like Docker [36:43] that were much more portable. [36:46] Working with like people from across the [36:47] industry like make it runnable. [36:50] And I think there's like this great [36:52] instinct to like finish a thing and then [36:53] like immediately jump to the next thing, [36:55] but [36:57] I think [36:58] putting in the work afterwards like [37:00] really paid off here. [37:01] And also, you know, we like kept [37:03] following up on it. So Swe Agent in some [37:06] way is just like a a baseline for Swe [37:08] Bench that it's like you can kind of [37:11] read the paper as like a like an [37:13] addendum [37:15] to to Swe Bench. [37:17] And [37:19] I think the fact that we have also kind [37:21] of took things slowly there and didn't [37:24] jump too far ahead. Like we could have [37:26] also gone really far in the direction of [37:29] like kind of training for Swe Bench and [37:31] trying to like climb on it as fast as [37:34] possible, but we kind of first got like [37:36] the agentic baseline which ended up [37:38] being really interested and then [37:40] interesting and then only [37:42] like I guess two years later maybe we [37:45] did Swe Smith which was more focused on [37:46] the training set. [37:48] >> Yeah, we kind of had all the components [37:50] sort of one by one. Yeah. No, that's [37:52] exactly right. So I guess that's [37:54] actually a great segue. You know, [37:57] half of this class, we're kind of in the [37:59] half where we're kind of talking about [38:00] evaluations and data right now, [38:03] but in the first half of this class, we [38:06] talked a lot about agent design, you [38:07] know, going from like Shin Yu who's also [38:09] on this paper and kind of the React [38:11] paradigm [38:12] to memory and to multi-agent and things [38:14] that have certainly are are more more [38:17] relevant today than they were two, three [38:19] years ago. I guess like fundamentally [38:22] dialing in on that point a bit more. [38:25] Yeah, what why was Swe Agent sort of the [38:28] right project to do after Swe Bench? And [38:31] in some sense in sort of a higher order [38:34] question baked in there is like when you [38:36] kind of build out a new evaluation, how [38:39] does that potentially translate to like [38:42] improvements in the harness or how does [38:43] sort of a more difficult task like [38:46] improve sort of, hey, this is like a [38:49] system around the language model or like [38:51] how that system needs to evolve. [38:53] >> It's actually a really nice sequence, [38:55] right? First making the benchmark, [38:56] [clears throat] then making a better [38:57] baseline for that benchmark, like a more [38:59] flexible harness, and then only then [39:02] focusing on like [39:03] actually training your [39:05] for that benchmark, yeah. [39:06] >> Yeah. Yeah. [39:09] >> What do you think of [39:11] >> [snorts] [39:14] [laughter] [39:14] >> To clarify, the question is like after [39:17] you build a benchmark, how does that [39:19] benchmark potentially inform a better [39:22] agentic system? Like what does it mean [39:24] to sort of like co-evolve your harness [39:27] with the evaluation or something like [39:29] that, you know? [39:30] >> Yeah, I think [39:36] I I I wonder how much [39:39] this will change more in the future. So [39:44] when we did when we initially did the [39:46] initial baselines for Swe-bench were [39:50] kind of like a rag baseline. So [39:52] we didn't we focused on just kind of [39:55] getting [39:56] raw intelligence from the model to like [39:58] solve a problem without necessarily [40:03] kind of [40:04] putting on the added problems of like [40:06] finding the files and doing a lot of [40:08] other [40:09] you know, tool calling agent like, you [40:11] know, this kind of repl style design [40:14] that eventually happened with the [40:15] harness. [40:16] And [40:17] I think it's like obviously a first step [40:19] in order to kind of just you know, test [40:22] whether [40:24] a problem whether like, you know, you [40:27] can use a language model's main [40:30] affordance, which is its intelligence, [40:32] in order to solve a problem. [40:34] And [40:38] and all of the stuff that came [40:41] later [40:42] we even even like with Swe-agent, we had [40:45] to do a lot of [40:46] a lot like Swe-agent is a pretty heavy [40:48] harness. We had to do a lot of work to [40:50] make the model behave [40:53] nicely with the terminal environment. [40:56] And so we had all of this prompting. We [40:57] had all of these types of you know like [40:59] safeguards. Like if a model tried to do [41:01] an illegal command, we would like you [41:03] know inject some extra prompting or [41:05] whatever to like make it you know do [41:07] different things. [41:08] >> They were also kind of chat models. So [41:10] like you had to kind of talk to them a [41:11] little bit like chat models. [41:13] >> Yeah. Yeah, I mean we we we we were [41:15] trying to essentially we we had to kind [41:16] of coerce a model that was trained to [41:18] chat with humans to talk with a computer [41:22] via the the command line. And [41:25] um and so now they they eventually [41:27] models kind of trained more to do that [41:29] type of thing. [41:30] Uh and we also see that the harness [41:33] could become much much lighter weight [41:35] over time because of that. And so like I [41:37] guess if you're thinking now about new [41:40] harder problems, to some degree I think [41:43] you do maybe need to to hand hold the [41:46] model a little bit on solving problems [41:47] where you just build a harness to elicit [41:51] particular you know like the the raw [41:53] intelligence from the model in order to [41:56] to like [41:57] get some signal on whether it's going to [41:59] help you solve those problems. And then [42:01] eventually if the model is smart enough [42:03] to figure out the environment for [42:05] itself, [42:06] uh often times you know no like minimal [42:09] harness is frequently the best the best [42:11] kind of thing. And we've seen that over [42:13] time as models got better and better, [42:14] you know the harness became increasingly [42:16] lightweight. [42:17] >> Yeah, definitely definitely. Oh yeah, [42:19] it's kind of interesting to see this [42:21] back and forth of like as you guys are [42:23] building out systems and stuff that like [42:25] it is um it's a meaningful effort at the [42:28] end of the day. Uh but it's also [42:30] interesting to see like which parts end [42:33] up getting swallowed by the models, [42:35] right? Like um I remember like uh we [42:38] were just looking through these [42:39] trajectories and there were these like [42:41] very funny guardrails where like if a [42:44] model had RMed something [42:47] and [42:48] technically you don't have to give it [42:50] any output. The output is empty, right? [42:51] Because RM-R is quiet failure. And you [42:55] would see the model go, hmm, I clearly [42:57] haven't removed this successfully [42:59] because there's no success message [43:01] indicating the files receipt it like is [43:03] disappeared. Let me do RM-R again. And [43:07] so I think like um it's simple stuff [43:09] like this, but then some of the things [43:11] that have persisted is like when um we [43:14] built like uh uh uh file editor, a file [43:17] viewer and you know, you have things [43:19] like Killion ended up developing mini [43:21] swedge in which you guys are actively [43:23] using. Um and so that just goes all [43:25] bash. But if you look at Codex um or a [43:28] Claude code or any of these coding agent [43:30] harnesses, you can see that there's like [43:32] custom tools in there. And so I think [43:34] like to Carlos and Alex's point, this um [43:37] evolution of like tools, which parts end [43:41] up being just kind of swallowed into the [43:43] model as model capabilities via kind of [43:45] data interventions, which parts are here [43:47] to stay. Um there's really no right [43:49] answer, right? It's sort of like a [43:51] constant evolution. Yeah. [43:52] >> It's also weird to put yourself in like [43:55] the sort of footsteps of a model that [43:57] starts out like a new episode like out [43:59] of nowhere there's like a problem that [44:01] it has to solve and it can you know, it [44:03] has seen like millions of environments [44:05] and [44:06] um the kind of I I think we often have [44:08] like a lot of assumed context when we [44:11] tackle problems that models may not [44:13] always have. So that's why it is good to [44:16] look at what the model is doing in the [44:18] evals, see if it always spends many many [44:21] tool calls going down some like wrong [44:24] rabbit hole that maybe is quite [44:26] understandable from the perspective of [44:28] the model. [44:29] Um [44:30] >> Very cool. Very cool. Yeah. And then now [44:34] um yeah, so that's kind of like you [44:35] know, the story of Sweet Bench and the [44:37] technicalities and like uh both Carlos [44:40] and Alex are excellent excellent [44:42] researchers. I think if you um go into [44:45] sort of the SF atmosphere and ask like [44:47] these guys are both incredibly um have [44:50] done really incredible work. So I guess [44:53] to that end, I want to ask you guys more [44:55] about just kind of like research habits [44:57] and and and sort of like, you know, this [44:59] ended up being a big team effort. Um, [45:02] certainly folks here you guys are [45:03] working on tasks individually, uh, but [45:06] you know, if you want to like join a [45:08] frontier lab or start your own thing one [45:10] day, um, I think like team is is a very [45:13] very important concept. So I mean there [45:15] there's like certainly plenty of answers [45:17] you've heard about how like teamwork is [45:19] super important, but kind of grounded in [45:21] our experiences both like with SweeBench [45:23] and also just, you know, generally [45:25] speaking now that you guys have had so [45:27] much accumulative experience since then, [45:30] um, yeah, what do you feel like is [45:31] important sort of like research habits [45:34] and then also just sort of having good [45:35] collaborations, um, and you can ground [45:38] it sort of [45:39] within benchmarks, within research, [45:41] within sort of the grand scheme of [45:42] things, whatever level you want to [45:43] discuss it at. [45:46] >> Yeah. [45:47] I was going a little bit on the theme of [45:49] John, um, that John's talked about in [45:51] terms of [45:52] you know, working hard and putting a lot [45:54] of effort and kind of doing the the the [45:58] the nitty gritty to get environments to [46:00] work or to get evals to work or or to [46:03] get models to do what you want them to. [46:05] Um, I do think that like a very common [46:08] thing that happens, especially with [46:10] people that are trying to maybe train [46:11] models, is that they take the data for [46:13] granted or they take the eval for [46:14] granted and you should like spend time [46:17] stepping through exactly what the model [46:19] sees and then you're going to realize [46:21] like, oh, you know, [46:22] it's missing a dependency or something [46:24] and then it just can't solve the [46:25] problem. Um, machine learning very [46:27] frequently works and if you have the [46:29] data and like if the if the structure [46:32] is kind of logical and reasonable, it [46:34] should work. Like you should like you [46:35] can [46:36] you just have to kind of, you know, [46:38] fiddle with things a little bit. [46:40] >> Yeah, be thorough with it. [46:41] >> Yeah. [46:41] >> That's good advice. [46:43] Do not take the eval for granted. [46:46] I would say I think, um, [46:49] one thing that I find really really like [46:52] fun about SweeBench is that like it [46:54] Carlos's original notes, if you bring [46:56] them back up, [46:57] um, he kind of first started talking [47:00] thinking about SWE-bench from the [47:02] perspective of long context models, [47:04] which I kind of been like a bit of a [47:05] trendy thing back then. It was the first [47:07] time that I think models went from like [47:10] 1K tokens to like 16K tokens and some of [47:13] them [47:15] even went to 100K. I think the open [47:17] source ones were like getting to like [47:19] 16K or something. [47:20] >> Yeah, I think Claude 2 I think was the [47:23] first 100K model that was like a little [47:25] bit [47:26] >> And um, [47:28] but uh, I think it's it's kind of a [47:30] great question like what becomes uh [47:33] feasible [47:34] with super long context models and uh I [47:37] think a lot of like really interesting [47:41] and novel research starts with like yeah [47:43] these kind of like very open-ended [47:45] questions and then like sometimes they [47:47] lead you to [47:49] very different I I don't think people [47:51] think of SWE-bench now as like a long [47:52] context eval at all, but um sometimes [47:56] they lead you to um very interesting [47:58] places. [47:59] >> Yeah, great great. And then I guess like [48:02] um [48:03] plenty of things have changed. Curious [48:05] what your guys' takes are on like what's [48:08] worth measuring next, you know? So [48:10] SWE-bench is a benchmark certainly at [48:12] this point with the verified and [48:13] multilingual. They've been pretty [48:15] saturated. I think multimodal is on its [48:17] way to being saturated. Um [48:20] I I think like I guess to set things up [48:22] we've all heard from the terminal bench [48:24] folks. I think like difficulty is [48:26] certainly one axis to pursue. Um it's [48:29] also very interesting to think about [48:30] sort of what difficulty means, but yeah [48:32] it's a bit of a open-ended question. Um [48:35] what do you think has been worth [48:37] measuring since SWE-bench and what do [48:39] you think continues to be worth [48:41] measuring? What's maybe something we're [48:42] not measuring that you know could be [48:44] interesting to look at? [48:50] It's kind of a bigger question. So I'll [48:51] start a little bit maybe to kind of give [48:53] you guys time to think. Um yeah so like [48:55] you know we've kind of talked about it, [48:57] right? You guys heard from the terminal [48:58] bench folks. [49:00] We kind of moved away from subscribing [49:02] to just GitHub code bases and issues and [49:05] PRs and like, you know, the idea behind [49:07] that was that wow, you can actually do a [49:09] lot of different kinds of things in the [49:11] terminal. [49:12] And so like sort of leaning on human [49:15] expertise as Alex talked about with like [49:17] terminal bench science and stuff like [49:19] that, you can sort of the terminal [49:21] happens to be a really good environment [49:23] for a lot of kinds of tasks like [49:25] manipulating AWS or like doing some sort [49:28] of biology experiment purely in code [49:32] or you know, like [49:34] with and then people kind of extended [49:35] this. We talked about like Tau bench, [49:37] right? And incorporating users in the [49:39] loop and stuff like that. So so I think [49:41] like the transition so far has seemed to [49:43] be like [49:44] the terminal environment stays. [49:46] The verification, what you ask the model [49:49] to do as the problem statement, the [49:51] assets you give to it have seemed to [49:53] shift over time. [49:55] Is this a paradigm that we should [49:56] continue with? Like maybe that's a [49:58] pretty strong paradigm and we should [49:59] keep doing that. [50:01] But yeah, is there or or are there other [50:03] things as well? [50:05] >> I think you know, I just said it's like [50:08] you know, it's good to ask good [50:09] questions. I think this is one of these [50:10] questions that is [50:12] like a very powerful question and I [50:14] think [50:15] you know, [50:16] like coming up with a good answer to [50:18] this [50:19] I think will be very powerful. So I [50:21] don't think we're going to offer [50:22] particularly great answers. [laughter] [50:25] But [50:26] I would say [50:28] like one eval I really liked that was a [50:31] little bit whimsical was when [50:33] Claude played Pokémon. [50:35] I think that was [clears throat] very [50:36] fun and it like alluded to like very [50:38] different abilities of models. [50:41] So it was much more about like exploring [50:44] like exploring a brand new environment [50:47] and like [50:49] very different way of like interacting [50:51] with some kind of digital world than [50:53] like [50:54] code base and a terminal is. [50:56] [snorts] [50:58] And [50:59] you know, possibly there are like [51:01] interesting types of kinds of evals, but [51:04] like these very different kind of [51:05] environments like basically what is sort [51:07] of outside of the terminal. [51:10] I think [51:12] a different point is that you know [51:14] models keep getting better on [51:18] some of these verifiable tasks. They [51:20] don't quite seem to sort of always [51:23] satisfy us or like progress seems a lot [51:25] more unsteady [51:26] in some of the more sort of subtle [51:29] aspects of [51:30] human interaction and [51:34] yeah, I don't think anyone has quite [51:36] managed to build [51:37] great evals for that and maybe sort of [51:40] what it means to build an eval there is [51:42] also like will take a different form [51:45] than just like problem you know answer [51:48] verify or something and [51:50] might be good to think about that. [51:54] >> Yeah, I I'd echo a lot of those things. [51:57] I think [51:59] I think [52:02] I think finding ways to [52:06] maybe gain signal from things that were [52:08] not so clear cut before. So I think for [52:10] instance, [52:11] you know [52:13] a very long time ago when you think [52:15] about like the machine learning data [52:16] that people would get [52:18] from unstructured data on the internet. [52:21] I think sweep bench like really [52:22] exploiting sweep bench took [52:25] fundamentally unstructured data on the [52:26] internet and then like putting the labor [52:28] in to structure it a little more or [52:31] I guess it was initially structured, but [52:32] we put the labor into like making it [52:34] feasible to actually kind of [52:37] get that signal from the human [52:39] expertise. So human expertise being [52:41] being the pull requests. So humans are [52:42] doing labor to like you know [52:46] essentially encode their expertise in [52:49] data via pull requests and you have to [52:52] build the environment and you have to [52:53] essentially run and like run the code [52:56] that model or run the the diffs that [52:57] models are producing against this human [53:00] signal and that that's like where the [53:01] source of supervision or are of in this [53:04] case evaluation comes from. [53:06] And I think maybe there are more ways [53:09] that we can kind of find human signal [53:13] either out on the internet or maybe [53:15] through through some other means [53:17] where like maybe you have to put some [53:19] work in to like connect [53:21] a problem with the human signal and like [53:23] compare the the the model with the human [53:25] signal somehow. Um [53:28] but [53:30] I feel like yeah there maybe there's [53:31] there's something else out there that [53:33] that has some structure like this as [53:34] well. [53:35] >> Yeah, makes sense, makes sense. Cool, [53:37] thank you so much guys. Yeah, I think [53:39] we're right at about time. So this is [53:42] great. I've gone through the roster of [53:44] questions that I have. So yeah, let's [53:46] thank Carlos and Alex briefly before we [53:48] open the [53:51] and then I'll open up to the crowd now. [53:53] So yeah, we'll just go one by one. Yeah. [54:06] >> [clears throat] [54:16] >> Yeah, I'm going to for each of these [54:17] questions I'll repeat it very quickly [54:19] for the online folks and then I'll let [54:20] you guys answer. So basically the [54:22] question was like you know now people [54:25] more and more are kind of using coding [54:27] agents, using models to build [54:29] environments, build tasks out. What does [54:32] that workflow look like sort of is that [54:35] a fair capture of your question? Okay, [54:37] yeah, yeah. [54:38] >> [clears throat] [54:39] >> Yeah, I think [54:40] I think that's kind of synthetic. [54:43] Well okay, [54:44] I guess I'll I'll split this up into two [54:46] things. [54:47] There is [54:51] models today are a lot more powerful [54:54] than they were in the past. If John and [54:56] I had like or you know if we had like [54:59] a very capable coding agent in the past [55:01] making environments would have been way [55:03] way easier. Like there was a lot of [55:05] labor that we had to [55:06] And [55:08] um and so I kind of would think about [55:10] there's a few different ways you can use [55:12] a model. Um [55:14] one of the ways that comes first to mind [55:15] is just that engineering is a lot [55:17] cheaper. Like you can you know think [55:19] about a problem as as long as it's kind [55:21] of well you know well uh [55:25] it's sound or kind of well uh well [55:27] thought out to to some degree. Um models [55:30] can probably engineer that end to end [55:32] without a lot of a lot of human input. [55:35] Um [55:36] and that's that's kind of the [55:38] implementation side and I think that's [55:39] still probably the most powerful thing [55:41] that you can do in a way. I think that [55:43] getting human at the end of the day like [55:46] real high quality expert you know like [55:48] human [55:50] you know human signal is is is is still [55:53] kind of the gold [55:54] um the gold standard. And I don't think [55:57] that models [56:00] I mean I don't I don't know exactly but [56:01] but humans are still you know humans are [56:03] kind of the [56:04] the the measure of all things in in in a [56:06] way. And so I think it's [56:09] I think that human input will will will [56:11] kind of continue to be relevant and and [56:12] and and important. [56:14] Um you can also think about synthetic [56:16] data and that's essentially kind of [56:18] eliciting [56:20] tasks or or solutions from models [56:22] themselves. And I think that can work as [56:24] well. Uh you just have to be mindful [56:26] that the [56:29] the um [56:31] the problems and solutions are are or [56:35] like the problem and verification [56:37] process is generated in such a way that [56:41] the model has to essentially solve [56:43] problems effectively and can't really [56:46] like you know you I uh and essentially [56:49] can't rely on it its own knowledge to to [56:53] to do things without [56:54] like [56:56] um [56:57] without uh some external verification. [57:00] Basically signal has to come from [57:01] somewhere and I think that can come via [57:03] a few different methods. Uh but I think [57:06] like just kind of pure model to model [57:08] stuff is is usually weaker and and and [57:10] more importantly, you you have to have [57:12] like major computation, some human [57:15] input, or some additional work on top to [57:18] make um to like get signal from an eval [57:21] that's synthetic in some way. [57:30] >> I guess the follow-up is like what is [57:31] your workflow on constructing [57:34] evaluations these days? Um I guess like [57:37] to preface this, Carlos and Alex like [57:40] they're all sort of in industry [57:41] researchers, so you know, if you yeah. [57:43] >> I you know, I I would say like sort of [57:45] some like broad general things is [57:47] probably everyone has to figure out [57:49] their own workflow. [57:50] And uh it is clear that like you know, [57:53] if we had done Sweebench today, like we [57:55] have the same sort of level of coding [57:57] models, but nobody had thought of doing [58:00] Sweebench. [58:01] Um [58:03] sort of [58:05] I I I think the things you have to [58:07] figure out and I think this will be to [58:09] some extent like everyone should develop [58:11] their own workflows. I think the things [58:12] that really matter sort of like building [58:14] great interfaces that allow you to sort [58:17] of supervise the models and figuring out [58:19] what they're doing. So imagine we like [58:22] you know, get the models and the the [58:25] first thing you might do nowadays is [58:27] instead of like John going on [58:29] Scikit-learn and going through a bunch [58:31] of individual PRs to eventually find one [58:33] that has tests in the gold solution, [58:36] like in the PR that fixed an issue [58:39] um that we uh you just ask a model, [58:42] right? Like, oh, does this exist [58:43] somewhere? And like that can be like [58:44] very open-ended and then like if the [58:47] model finds something, you can obviously [58:48] go there and double check that it's kind [58:50] of, you know, check the ground truth. [58:51] And then um once you start constructing [58:54] environments and scrape things, I think [58:56] you probably want to have like very nice [58:58] dashboards that like show you what is [59:00] being worked on. And if you send agents [59:03] into all of these environments, figure [59:05] out a way in which all of these agents [59:06] can like report back to you in like one [59:08] place so you can see it very nicely and [59:11] you can check in and actually see some [59:12] logs, do some spot checks, and also then [59:15] like maybe you know, have like an outer [59:17] agent that you can query and give you [59:19] some like summaries of what's happening. [59:21] And um [59:23] I think kind of just doing sort of some [59:24] critical Q&A, uh both doing spot checks [59:27] but also just [59:29] thinking of like sort of scenarios that [59:31] could happen and like just asking the [59:33] model, what are all the errors that have [59:34] occurred and like how do we how how did [59:37] the individual agents kind of like fix [59:39] those errors? Because you don't really [59:41] want them to sort of try and fix things [59:43] that don't really work, that like where [59:45] like it kind of compromises data [59:47] quality. [59:48] And um [59:50] yeah, kind of focusing [59:53] you know, [59:54] building great interfaces that allow you [59:56] to kind of still have a good overview of [59:58] what's happening, that make it easy to [60:01] like actually go into individual data [60:03] points. Um and then uh that also make it [60:06] easy to kind of query and summarize [60:09] things. [60:13] >> Uh okay, we'll take a listen now. [60:36] >> [clears throat] [60:54] >> Interesting. So I guess the question is [60:56] that like um certainly like you know, [60:59] there are the research scientists that [61:00] are putting things together, but like um [61:03] when it comes to this question of like [61:04] putting together tasks and you have like [61:06] other roles that are involved like a [61:08] like a TPM or something like this. And [61:11] the question is kind of like you know, [61:12] beyond sort of the research scientist [61:14] role like you know, what are uh both in [61:17] terms of roles, but also just general [61:19] responsibilities? Like, what is helpful [61:21] to sort of like put together the whole [61:23] task? Is that a right capture? [61:25] >> I guess like [61:26] for the people for the PMs that you're [61:28] working with or similar roles, like what [61:30] are your think about some good traits [61:34] >> Yeah. [61:35] That's an interesting one. Yeah, I'm not [61:37] I don't know if you guys work with [61:38] TPMs, but yeah, I'll I'll let you maybe [61:42] Yeah, maybe maybe like roles in general [61:44] that are set of complementary. Yeah. [61:47] >> I think um [61:49] Do do you want to go first, [61:51] I I [61:53] I I would say [61:54] um [61:56] I I think the role of a traditional [61:58] product manager, right, is kind of [62:00] um Well, there are many bits to it, but [62:02] something that's very important is [62:03] actually studying sort of how the [62:06] product [62:07] uh is doing in the wild, how like [62:10] you know, users are experience like how [62:12] the user experience is [62:14] um to kind of maybe think about what [62:17] good statistics are [62:20] How do you capture like the kind of user [62:21] journey? Maybe do interviews with users [62:23] and like [62:24] I I think um [62:26] a model is obviously a product as well, [62:29] and it garners like an unbelievable [62:31] amount of feedback. [62:33] Um so [62:35] thinking about [62:37] like [62:38] what feedback is actionable [62:41] um [62:42] and sort of [62:44] also kind of setting then the direction [62:47] for like some of that feedback. I I [62:49] think EVADs are like a very good form [62:51] of like setting direction for like kind [62:54] of model development. Like, you know, [62:56] Sweebench very much set like a direction [62:58] for model development in the industry. [63:01] Um so [63:04] rather than [63:05] I I think first kind of distilling this [63:07] like giant mountain of of feedback down [63:11] to kind of [63:12] a few most important things. Like, I [63:14] think that takes a lot of judgment. Um [63:17] uh it, um, [63:19] it takes some like, you know, [63:22] it like you have to be careful as well. [63:23] You have to really look into the [63:24] scenarios to understand [63:26] um, what is going on. And then, um, [63:30] uh, I think [63:32] you can either distil this into some [63:34] like action points of being like, okay, [63:35] this is actually important. This is what [63:37] we should focus on. [63:38] Um, [63:39] and maybe these other things are just [63:41] noise. Um, but I think even better would [63:44] be then like to kind of try and [63:46] sort of take that and put it into some [63:48] kind of like [63:52] you know, like eval that uh [63:54] is um [63:56] sort of [63:57] repeatable and it's like a de- [64:00] deterministic measure of progress. [64:03] Does that make sense? [64:06] >> Yeah, I guess like uh yeah, I I couldn't [64:08] agree more. Um, one experience that we [64:10] had concretely as maybe you might recall [64:13] from lectures when we were kind of doing [64:15] sweet bench verified and this was mostly [64:17] with OpenAI folks, right? And so like [64:20] you certainly like needed sort of the [64:22] researchers like us and and and and this [64:24] was uh was the preparedness team. Um, [64:27] but I I think an excellent thing that [64:29] they had done was that they actually [64:31] orchestrated the human annotation effort [64:34] um to actually find labelers and [64:37] annotate and develop the rubrics. And [64:40] it's it's not like text is pretty cheap [64:43] to generate these days, but I think [64:45] going back to what Carlos said, it it's [64:47] about signal, right? So it's pretty easy [64:49] to generate a rubric. Is this a rubric [64:51] that you actually agree with? Um, is [64:53] this sort of something that you actually [64:55] care about operationalizing? Um, I think [64:58] it's very much sort of the thing that [64:59] Carlos and Alex have been alluding to, [65:00] which is like A, you need human signal [65:03] and B, I think like Alex was talking [65:05] about with like [65:06] the benefit that we have with you know, [65:08] engineering and text being cheaper is [65:10] that you get to be more of an [65:11] orchestrator. But then the you know, [65:13] ideally when you are in that [65:15] orchestrating position, you can kind of [65:17] like you know, create very easy [65:19] workflows for yourself, but then like [65:20] zoom in on data points if you need to. [65:22] And so I think so we even verified um [65:24] beyond it just being sort of the 500 [65:27] split that everybody reports performance [65:29] on, I think it's set like a it it is [65:32] kind of in in some sense you could think [65:34] of it as like an alignment project of [65:36] like well, [65:38] do I care about this test? Like is it [65:40] aligned with it? Is it testing what I [65:42] actually care about? And I think these [65:44] principles start to emerge where it's [65:45] like yeah, when you think about [65:46] constitutional AI or something like [65:48] this, this is kind of sort of you know, [65:51] reminiscent of that at the end of the [65:53] day. So I would say like kind of um you [65:55] know, in this class we've talked also [65:57] about like safety and alignment and [65:59] behavior and like often times when you [66:01] tackle those questions like there are [66:03] some sort of like black and white [66:05] objective truths, but like often times [66:08] there's some subjectivity and opinion [66:10] baked into there. Um and the point there [66:12] is there's not sort of one ground truth. [66:13] It's more sort of like okay, beyond just [66:15] kind of being able to train a model, [66:17] like how do you kind of think about [66:19] these questions in like a meaningful [66:20] way? So it's all that that was kind of a [66:22] very abstract form, but you know, yeah, [66:25] hopefully that helps. Yeah. Do we Yeah, [66:26] maybe we'll go here and then we'll come [66:28] back. Yeah. Yeah. [66:32] >> your guys' approach when you're doing [66:33] evaluations and [66:35] when we're seeing a lot of [66:36] non-deterministic [66:39] you know, Evals, when we have kind of [66:41] LLMs doing the evaluation for us, we've [66:44] seen that like [66:45] there's a lot of bias that [66:48] when you were mentioning the approaching [66:54] the golden standard is always to get to [66:55] a deterministic solution [66:58] and like a lot of times when we don't [67:00] have that we've seen [67:01] you know, some layers in between, but a [67:03] lot of times we're forcing to [67:05] kind of like an LLM just write a text or [67:08] write a structure. I guess kind of when [67:10] you guys see an exploration sense of [67:13] writing out the columns of like a [67:16] Say you have a game example for Pokémon, [67:18] this is this set of instructions of what [67:21] defines the world that I'm in and kind [67:23] of like [67:24] how how do you really build a validator [67:26] for that? How do you get certain parts [67:28] of it to be either deterministic or [67:30] something that you want to really better [67:32] plot? [67:34] >> I see. So they kind of repeat and [67:35] synthesize the question. It's like yes, [67:37] you know, you can put together all of [67:39] the task components and you can generate [67:42] these things like with Pokémon you have [67:43] like a big world or something like that. [67:45] But like I guess oops, sorry about that. [67:47] How do you kind of like [67:50] make certain or be certain or kind of [67:52] verify the verifier, verify the [67:54] environment, kind of validate what [67:56] you're doing is like meaningful, is [67:58] difficult, like sort of the desirable [68:00] properties of a good task? Is that a [68:02] reasonable capture? Okay, yeah, I guess [68:04] it's like putting things together is [68:06] easy. How do you know what you have is [68:07] like meaningful or you know, worth [68:10] training on or caring about at the end [68:12] of the day? Yeah. [68:14] >> Yeah, I think that's a good that's a [68:15] great question. Um [68:18] the answer is that it can be very hard. [68:19] At the end of the day you have to just [68:20] convince people that [68:23] like the metric that you're presenting [68:24] them is meaningful. I mean even but like [68:27] before Sweetviz became more popular, you [68:30] could kind of look at [68:32] even when Sweetviz was starting to pick [68:33] up steam, I think like people were [68:35] interpreting scores in [68:38] maybe arbitrary ways and you know, [68:40] having 90% on Sweetviz means it means [68:44] something rooted in Sweetviz, but I [68:46] think outside of unless you're very [68:48] familiar with that, it doesn't really [68:49] mean anything to you and it maybe it's [68:50] like good or bad. I don't know who's [68:52] making decisions based on on those types [68:54] of scores. But [68:56] at some point in time like a metric that [68:58] you're you're proposing uh [69:00] may you know, will become like [69:02] authoritative. And I think ultimately [69:06] the most important thing is just [69:08] that that metric kind of correlates with [69:11] when humans look at the outputs, do they [69:13] agree that it's like a valid metric, [69:16] right? Like if you like if you literally [69:17] just look at a lot of your data, you [69:19] look at [69:20] you know, positive outcomes, negative [69:22] outcomes. You mentioned determinism or [69:25] something. I think that's like [69:27] maybe another problem where [69:29] um [69:31] it depends a little bit. You can maybe [69:33] try to reduce that empirically. I mean, [69:34] you can literally imagine constructing [69:37] multiple you know, environments, [69:39] multiple [69:40] alternatives and like measuring [69:42] empirically what's less [69:44] you know, kind of lower variance or [69:46] something. [69:47] And as long as you agree with the [69:49] outputs fundamentally and and if people [69:51] in general agree, like if you can [69:53] convince people that your metric is is [69:55] is authoritative, then [69:58] um then I think you know, [70:00] they'll they'll take it seriously. But [70:03] yeah. [70:06] >> Yeah. I I would also say it's like [70:08] another good point why like on like my [70:10] previous answer on like how do we what's [70:13] a good workflow with LLMs, right? [70:15] LLMs are kind of non-deterministic and [70:17] like [70:19] it is important to like know [70:23] and Carlos said this as well. Like you [70:24] have to know where the signal comes from [70:26] and it might come from like very very [70:28] careful human validation at the end [70:30] or like maybe it comes from like [70:33] using LLM like using agents only for [70:35] like [70:36] part of the tasks that aren't really [70:38] critical, right? Like so like this [70:40] dashboard I described, maybe you're [70:42] trying to set up the environments and [70:44] that's a little bit kind of like it's [70:46] it's quite easily verifiable whether the [70:47] environment works and you can build some [70:49] good checks for that. You can gain [70:51] confidence in that and then you can [70:53] focus [70:54] the the true signal for sweep bench will [70:56] then still come from like maybe the [70:57] human tests. Um [71:00] or like yeah, maybe you can do some kind [71:02] of automatic sweep bench verified kind [71:04] of quality assurance on top of that. Um [71:07] but like kind of knowing what the signal [71:09] comes from and being aware of your like [71:11] sources of noise and um [71:15] I I I think just also generally just [71:17] having a very clear high-level idea of [71:19] what you're doing [71:21] um and and basically not vibing it out. [71:23] I think if you're kind of just sort of [71:26] being interactive with the model and [71:27] you're kind of like yeah, let's design [71:29] an eval task here and then [71:31] and then you know like [71:34] whatever you ended up with was probably [71:36] not that intentional. [71:37] So having I think like a fairly good [71:39] idea in advance helps. [71:43] I also think in a way an eval is a [71:44] little bit like an exam, right? So like [71:46] like thinking about what makes a good [71:49] exam for humans, for like a class or [71:51] like what makes a good homework exercise [71:53] or something [71:55] I think can also help because there's [71:57] also like no like [71:59] there's no like objective way of [72:02] deciding what a good exam question is, [72:04] but you still kind of see it and know it [72:07] and and you know what like bad questions [72:09] are. [72:14] >> I'm really inspired by your planning doc [72:17] here from 2023 [72:20] specifically the question that's [72:21] highlighted here what becomes feasible [72:23] with super long context models. [72:26] I like how you highlighted this idea of [72:28] like how open-ended unsolved questions [72:30] about the future could really help be [72:32] jeopardized and [72:36] and solve problems and come up with not [72:37] like yes. [72:39] I'm curious for each of you what is [72:42] this version of that question in 2026 [72:45] that is currently keeping you up at [72:47] night? [72:49] >> A cool question. I'll repeat it for the [72:51] online people. [72:52] Yeah, Carlos's planning doc here I think [72:54] was like very very forward-looking in a [72:57] lot of ways like if we had to kind of [72:59] like write down our notes today, you [73:02] know what would those those notes look [73:04] like? [73:05] [snorts] [73:07] Yeah, this is a interesting question. [73:09] I'll kind of shoot from the hip to give [73:11] these guys a little time. [73:13] Yeah, I feel like [73:14] in many ways maybe people think these [73:17] days like oh coding is solved and it [73:19] almost feels like books are closing. [73:22] I think maybe [73:25] I would almost argue it's like a limit [73:26] in in imagination and creativity. I [73:28] think like even though a lot of books [73:30] might seem closed right now, because [73:31] that's what we're familiar with, a lot [73:33] of things open, and that's very much [73:34] your question. [73:36] I For me, I think something along the [73:38] lines of like high levels of like [73:41] personalization or customization and [73:44] tailoring. I mean, this is something [73:45] people are already exploring. But I [73:48] think they ground it like actually one [73:50] of the [73:51] key motivations when the three of us [73:53] decided Sweet Smith was the right thing [73:55] to work on was like, well, you know, at [73:58] the time, and this is like two years [74:00] ago, [74:01] it wasn't quite clear at the time, and I [74:03] think maybe it's still a little up for [74:05] debate today, [74:06] but we weren't sure if it's like one [74:08] model to rule them all or let's just say [74:11] you're like a maintainer of SymPy, and [74:13] you only really care about like [74:15] maintaining SymPy very well. Do you need [74:17] to kind of create like a really huge [74:19] model that's good at everything or do [74:21] you kind of take a smaller model and [74:23] just kind of like fine-tune it heavily [74:24] on SymPy? This is something we briefly [74:27] alluded to. So [74:28] I think operationally that doesn't have [74:31] to be how you execute on customization. [74:33] Like the future of personalization is [74:35] not necessarily small custom models that [74:38] are like fine-tuned to very specific [74:40] private data sets. [74:41] But I think that's just potentially one [74:43] flavor. [74:44] I think like you see a lot of the [74:46] companies kind of breaking into personal [74:48] agents these days. It's a little bit [74:50] scary. I think there's a lot of [74:52] interesting regulations that hopefully [74:54] co-evolve with like making sure that [74:57] when I open up Muse or Instinct and I [75:00] connect my email and my bank account and [75:03] my Etsy and my, you know, everything [75:05] that like, you know, things that I stay [75:08] in the driver's wheel. [75:10] I think this generally this question of [75:12] personalization maybe goes hand in hand [75:15] with like loss of control, loss of [75:17] autonomy. So I think like [75:19] personalization as it ties maybe into [75:22] empowerment [75:23] feels [75:24] quite compelling to me. But I'll stop [75:26] there and hand it over to these guys. [75:28] Yeah. [75:31] >> Yeah. I mean, I think models [75:34] are very capable now. Like we're miles [75:36] ahead of of how they were in the past. [75:39] And I do think it can seem hard to think [75:42] about problems [75:45] that [75:46] um [75:48] that [75:49] you know, they won't be able to do. Uh [75:51] but there are many things that models [75:52] can't do. Um [75:57] I think there's like different ways to [75:58] approach [76:00] how like how to come up with an eval or [76:02] how to come up with the problems that [76:04] you're trying to evaluate. [76:05] Uh and maybe what's special about this [76:07] specific case is you kind of think about [76:10] what is capable now. Like what what can [76:12] models do now and what might that [76:14] naturally uh naturally lead to? So I [76:18] don't know. I think maybe like [76:20] models are really good at computer use [76:21] now. I don't know if we've seen really [76:23] compelling kind of evals around that. [76:25] Like there's evals around general [76:26] computer use, but like I don't know if [76:29] and I'm not keeping up with literature [76:30] as much, so I apologize if there is like [76:32] a clear example. But uh maybe I don't [76:35] know. I feel like maybe there are [76:36] problems like that that are not just [76:38] about using a computer, but that that's [76:41] instrumental to doing something beyond [76:43] that uh that might be kind of like an [76:46] analogy here. [76:47] Um [76:49] >> It's like it's a little bit like if you [76:50] can now do sweep bench [76:52] to like a reasonable degree of like [76:54] quality and so on. And probably with [76:57] like better quality uh in like a day, [77:01] maybe two, three days with a little bit [77:03] of like processing time, then um [77:06] it's it's probably too easy. [77:08] Um or like I mean it it it will be done [77:11] very soon. So it's [77:13] maybe good thinking about yeah, if you [77:14] now use models to like the fullest [77:16] extent [77:18] what what is possible in like [77:20] in a few weeks. [77:23] >> Okay. And then we'll have one more [77:25] question and I think we'll we'll finish [77:27] up today. Yeah. [77:32] >> [snorts] [78:21] >> Yeah, sure. To To briefly uh repeat the [78:23] question like yeah, I think with some [78:26] things, you know, as the tasks maybe get [78:28] more open-ended or more subjective or [78:30] sort of more tailored to specific [78:33] populations or people, how do you think [78:35] about verification evolving to fit for [78:38] that compared to kind of like a more [78:40] deterministic paradigm? Is that a fair [78:42] question? Yeah. [78:47] >> It's a It's a great question. Um [78:50] I don't know if I have any particular [78:52] insight. Um I do think that um [78:57] when [78:58] you kind of said that like in in the [79:01] kind of [79:02] sort of like perfect evaluation scenario [79:05] that you imagine, it's like a person [79:06] like interacting with a model kind of [79:08] again and again. [79:09] And um [79:11] to some extent uh [79:14] if you see in like the kind of papers [79:16] the sort of something like Sweet Smith [79:18] and some of the other works that like is [79:20] trying to uh sort of improve [79:24] uh SweeBench, it's it's very much like a [79:26] kind of [79:27] basically the kind of open source [79:29] training approaches to SweeBench are [79:30] very much like [79:33] you know, here is [79:34] the way maybe you get to to a solution [79:37] and we train on this [79:38] you can do these GRPO style approaches [79:41] where um [79:43] yeah you use reinforcement learning um [79:46] and uh [79:48] I mean [79:49] to cut all of this short I I would say [79:51] it's uh [79:52] um [79:55] be like I I I essentially think like [79:58] you're basically imagining like an [80:00] evaluation setting that is [80:04] you know [80:05] sort of as a paradigm [80:07] like much more ambitious than like how [80:10] something like Sweeppbench works right [80:12] because it's [80:13] interactive it's over multiple steps. So [80:16] um [80:17] I I think that's it's it's it's like [80:20] very interesting in that sense yeah. [80:24] >> Yeah I think there's a I think there's a [80:26] few [80:28] like [80:29] different things that come together in [80:31] in in in the specific framing that you [80:33] provided. [80:35] So like there's personalization which [80:37] you know maybe is something [80:39] that's related like continual learning [80:40] in in machine learning literature. [80:43] Um there's a subjective thing which I [80:46] think is its own problem [80:47] uh and I think that there's like a lot [80:49] of problems that that that [80:51] uh these are all like interesting open [80:53] problems you know like there's a lot of [80:54] people working on unlike um in in in in [80:57] in research in general in academia [81:00] on like both of these types of things. [81:02] And I don't and I think that there is [81:04] not [81:05] um [81:07] I mean I think there's still like a lot [81:08] of like headroom [81:10] to discover and to discover new [81:13] capabilities to do new evals that are [81:16] really targeting those types of things. [81:17] So I I guess maybe in terms of [81:20] uh in terms of like [81:22] a particular project it might be helpful [81:25] to like focus on [81:28] a particular capability um [81:31] at the same time though well you know [81:33] whatever whatever type of [81:36] whatever type of data like that comes to [81:38] you that 's well structured and encodes [81:40] you know some signal is probably like [81:43] the most expedient thing to do so. [81:45] >> Yeah. [81:46] But I guess you can think of something [81:48] like Alan Marino as a sort of test bed [81:51] for [81:52] like some of these aspects that you're [81:54] curious about but then it's like maybe [81:56] lacking in other aspects and um [82:00] maybe yeah maybe it's worth thinking [82:02] about what like the ideal eval here [82:04] would look like. [82:06] Um [82:08] >> Okay. All right. I think we're at about [82:10] time. Thank you all so much for joining. [82:12] Let's give Carlos and Alex one more [82:13] round of applause.