How SWE-bench Was Built | Stanford CS329Z Guest Lecture with Carlos Jimenez, Alex Wettig & John Yang
Browse Stanford's online courses in Agentic AI: https://stanford.io/4AIRb2zHow 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 Receive SMS online on sms24.me
TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.
Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.
Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.
TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.
Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.
@YouTubeReaderBot allows you to subscribe to Youtube channels.
By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.
Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.
Look for new videos or channels and share them with your friends.
You can start using our bot from this video, subscribe now to How SWE-bench Was Built | Stanford CS329Z Guest Lecture with Carlos Jimenez, Alex Wettig & John Yang
What is YouTube?
YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.