paper-with-me

Papers

Temporal Validity on Real Software Histories: Eliminating Stale-Fact Errors in Code-Assistant Memory over GitHub Fixes

2026-08-21 · Neeraj Yadav arxiv

Retrieval-augmented generation (RAG) has no model of time: when a fact changes across a coding session - a function is renamed, an endpoint moves, a dependency is bumped - RAG retrieves both the old and new value with near-identical similarity and cannot tell which is current, so it serves the superseded value. Paper 1 showed, on synthetic single-value benchmarks, that a deterministic (subject, relation, object) supersession memory eliminates this failure. Here we validate it end-to-end on real software history. From 707 real GitHub issues (SWE-bench Lite + Verified) we extract 130 clean atomic state transitions, a fix that changes one identifiable value from a pre-fix to a post-fix form, and render each marker-free (the stale and current statements differ only in the value). On this set, MemStrata reaches 0.91 answer accuracy versus RAG's 0.57-0.59; and, the structural result, when forced to answer RAG serves the superseded value 36-38% of the time (an LLM reranker does not help) while MemStrata drives this to ~0, at RAG retrieval latency (~2.1 s vs ~18 s for the reranker). We are explicit about scope: only ~18% of real fixes are clean atomic transitions; Paper 2 isolates the memory mechanism on that class, and extraction coverage of the remaining fixes is the orthogonal problem we defer to follow-on work. A real product bug surfaced and was fixed during the study (a case/punctuation-insensitive value comparison), with the moat property (deterministic-supersession accuracy on clean code mutations) preserved and verified.

📄 PDF Abstract BibTeX arXiv:2608.20685

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Software engineering and the SP Theory of Intelligence

2017-08-18 · J. Gerard Wolff

This paper describes a novel approach to software engineering derived from the "SP Theory of Intelligence" and its realisation in the "SP Computer Model". Despite superficial appearances, it is shown that many of the key…

TRACE: State-Aware Query Processing over Temporal Evidence Graphs for Conversational Data

2026-07-01 · Maolin Wang, Yu Wang, Zichun Liu, Baiyuan Qiu 외 arxiv

Conversational data is increasingly used as a persistent source of user state for long-running assistants and AI agents. However, querying this data remains challenging because conversations naturally evolve: plans are r…

Answer Generation

QUMem: Personalized Memory for Query-Conditioned User-State Inference in LLM Agents

2026-08-17 · Heng Wang, Yifei Li, Lingling Zhang, Pengyu Li 외 arxiv

Large language model (LLM) agents increasingly use external memory systems to support personalization by drawing on long and evolving interaction histories, in which user preferences may be distributed across time, chang…

Response Generation

Demand Forecasting from Spatiotemporal Data with Graph Networks and Temporal-Guided Embedding

2019-05-26 · Doyup Lee, Suehun Jung, Yeongjae Cheon, Dongil Kim 외

Short-term demand forecasting models commonly combine convolutional and recurrent layers to extract complex spatiotemporal patterns in data. Long-term histories are also used to consider periodicity and seasonality patte…

Demand ForecastingTime SeriesTime Series Analysis

An Empirical Investigation into Learning Bug-Fixing Patches in the Wild via Neural Machine Translation

2018-09-07 · Accepted to the ACM Transactions on Software Engineering and Methodology 2018 9 · Michele Tufano College of William and Mary Williamsburg, USA Cody Watson College of William and Mary Williamsburg, USA Gabriele Bavota Università della Svizzera italiana (USI) Lugano, Switzerland Massimiliano Di Penta University of Sannio Benevento 외

Millions of open-source projects with numerous bug fixes are available in code repositories. This proliferation of software development histories can be leveraged to learn how to fix common programming bugs. To explor…

Bug fixingDecoderMachine TranslationTranslation