Persistent memory for AI coding agents: a pre-registered SWE-bench Verified benchmark

代码库 计算机科学 试验台 Python(编程语言) 软件工程 过程(计算) 软件 程序设计语言 源代码 语言模型 人工智能 万维网
作者
Jimenez, Carlos E.,John Yang,Alexander Wettig,Shunyu Yao,Kexin Pei,Ofir Press,Karthik Narasimhan
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:50
标识
DOI:10.48550/arxiv.2310.06770
摘要

AI coding agents lose state at every context compaction. They re-encounter the same failure modes session after session. world-model-mcp is an open-source MCP server that builds a temporal knowledge graph for codebases, capturing facts with provenance metadata and per-evidence-type decay, then re-injecting them after compaction. This paper reports the v0.9 benchmark testing whether that layer measurably reduces repeated coding-agent mistakes on a public corpus. 50 SWE-bench Verified tasks across five repositories (django, sympy, matplotlib, scikit-learn, sphinx) were run as paired baseline-vs-treatment per task. The methodology was committed to DESIGN.md on 2026-06-17, a week before the benchmark ran, so the result is pre-registered and cannot be adjusted post hoc. The treatment arm receives constraints extracted from prior baseline failures via the SWE-bench Pro 7-category failure taxonomy. The agent in both arms is Claude Code 2.1.177 headless. Across 49 paired SWE-bench Verified instances (1 dropped due to an upstream setup-script issue), baseline pass rate was 33/49 = 67.3 percent and treatment 38/49 = 77.6 percent, a delta of +10.2 percentage points. Within-domain delta (django + sympy, constraints from same repo family) was +15.0 pts. Cross-domain delta (matplotlib + scikit-learn + sphinx, constraints loaded only from a different repo family) was +6.9 pts with zero regressions on 18 baseline passes. Six FAIL-to-PASS flips and one regression were observed. Seven explicit limitations are documented verbatim, including single-trial design, within-domain constraint-failure overlap, and judge-model self-reference risk. The result establishes empirical evidence that persistent memory with provenance reduces coding-agent failure recurrence within-domain, with smaller positive signal cross-domain at no observed cost on the families tested.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
爆米花的应助被科研通管家采纳,获得10
刚刚
科目三的应助被科研通管家采纳,获得10
刚刚
刚刚
Eric的应助被科研通管家采纳,获得10
刚刚
刚刚
小明完成签到,获得积分10
1秒前
1秒前
啦啦啦发布了新的文献求助10
1秒前
半夏发布了新的文献求助10
2秒前
简单的书竹完成签到,获得积分20
2秒前
晓晓发布了新的文献求助10
3秒前
3秒前
何意味完成签到,获得积分10
3秒前
3秒前
menyu的应助被wwww采纳,获得40
3秒前
syl完成签到,获得积分10
4秒前
YaaCiao发布了新的文献求助10
4秒前
molihuakai的应助被任性的棒棒糖采纳,获得10
5秒前
bkagyin的应助被正直的夏蓉采纳,获得10
5秒前
bkagyin的应助被冗99采纳,获得10
6秒前
在水一方的应助被英勇的冰旋采纳,获得10
6秒前
中岛悠斗完成签到,获得积分10
6秒前
7秒前
7秒前
研友_VZG7GZ的应助被李哈哈采纳,获得10
8秒前
Owen的应助被晓晓采纳,获得10
9秒前
科目三的应助被EEE采纳,获得10
9秒前
Nefilibata发布了新的文献求助30
9秒前
小蘑菇的应助被searchrnothing采纳,获得30
9秒前
10秒前
英姑的应助被yuxuan采纳,获得10
10秒前
10秒前
Maestro_S的应助被tjpuzhang采纳,获得10
10秒前
11秒前
11秒前
Akim的应助被dkr采纳,获得10
11秒前
11秒前
12秒前
酷炫的映菡完成签到,获得积分20
12秒前
大模型的应助被GY采纳,获得10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 2000
Handbook of Sport Coaching Research 1000
Orthognathic Surgery - 2 Volume Set 500
高分子基功能界面水蒸发材料与应用研究 500
外场增强的水汽发电研究 500
基于结构调控的功能化水诱导发电材料与器件研究 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8199032
求助须知:如何正确求助?哪些是违规求助? 9584351
关于积分的说明 21893854
捐赠科研通 7800667
什么是DOI,文献DOI怎么找? 3439113
关于科研通互助平台的介绍 2562127
邀请新用户注册赠送积分活动 2486091