Liu describes how coding tasks often send developers on side quests to learn a framework, install dependencies, or find a UI component. AI can help bridge those gaps so developers stay focused on the feature they are building. The business challenge is showing how that added capacity affects results.
The ROI of AI: Why you need Eval Framework
Speaker
Sourcegraph co-founder and CTO Beyang Liu presents frameworks for measuring the ROI of AI coding tools at an AI Engineer conference.
Liu uses a bean-growing analogy: developers produce work, sales teams sell it, and finance leaders count the results. Engineering output is difficult to quantify because not all work has the same value, and measuring AI ROI depends on the still-open problem of measuring developer productivity.
Liu says he has not seen software customers evaluate coding tools by planning to eliminate engineering roles; most want to work through important backlogs and improve user experiences. A/B testing can compare teams with and without a tool, though teams differ and outside events can skew results. Palantir ran a similar evaluation and found approximate timelines accelerated by 20% to 30% with Cody. Another approach estimates time saved from product actions, using conservative values, but engagement alone misses work that gets completed and can mislead for tools that suggest code automatically.
Liu cautions against generic measures such as lines of code generated, which can reward tools for triggering more suggestions rather than delivering useful work. Leidos tracked whether developers spent less time answering questions and more time building features, writing unit tests, and reviewing code. For major initiatives such as code migrations, leaders can estimate the value of completing work sooner, while acknowledging that estimate involves judgment.
Developer surveys can help organizations choose tools within a defined productivity-tool budget; Liu cites a survey range of 5% to 25% of organizational budgets allocated to developer productivity. He recommends defining success criteria and cautions against claims of precise productivity measurement. He sees coding tools progressing from inline suggestions toward editor-based agents that still respond to human guidance, with code remaining a precise source of truth.
Takeaways
- Set success criteria before a coding-tool pilot, and align them with the outcomes stakeholders care about.
- Use team comparisons when practical, while accounting for differences between teams and outside disruptions.
- Estimate time saved conservatively from explicit tool use, and use acceptance rates for automatic suggestions.
- Track engineering KPIs tied to desired changes, such as time spent on features, tests, and code review.
- For strategic projects, assess whether AI can move an important milestone forward, while treating the estimate as a leadership judgment.
Mentioned in this talk
AI
COBOLJavaSearch inside this talk
What was claimed 9
- foundedBeyang Liu founded SourcegraphCo-founder
“Beyang Liu, CTO of Sourcegraph.”
YouTube Verified6 sources· Talk, Web· archived
- builtSourcegraph built Cody
“At Sourcegraph, we're building Cody”
0:14inThe Code AI Maturity Model and What It Means For YouYouTube Verified6 sources· Talk, Web· archived
- built
“We have two products. One is a code search engine.”
YouTube Verified2 sources· Talk, Web· archived
- integrates withCody integrates with Sourcegraph Code Search
“Cody, an AI coding assistant that ties into our code search engine.”
YouTube Unverified2 sources· Talk
- featureSourcegraph: AI coding assistant that ties into Sourcegraph’s code search engineAI coding assistant that ties into Sourcegraph’s code search engine
“Cody, an AI coding assistant that ties into our code search engine.”
YouTube Unverified1 source· Talk
- metricCody: Palantir reported approximate timelines accelerated by 20% to 30% using Cody
“Palantir, one of our customers, ran something similar and concluded that approximate timelines were accelerated by 20% to 30% using Cody.”
YouTube Unverified1 source· Talk
- featureCody: Provides fine-grained usage analytics, including invocations, codebase questions, chats, and inline code generation
“This is something we built for Cody: fine-grained analytics.”
YouTube Unverified1 source· Talk
- metricCody: $9 per month
“I think Cody is $9 per month.”
YouTube Unverified1 source· Talk











