Nannan Zhao, Jiameng Zhang, Taoyu Zhong, Hao Wang, Bo Wang · 2026 · arXiv (Cornell University)
DOI: 10.48550/arxiv.2610.25108 · cited by 0 works (OpenAlex) · open-access PDF
لا يوجد أي أساس أساس لتحديد ما يُعد جزءًا من هيكل الكود الذي يحتاج إلى إدراج جديد. نحن نسأل ما إذا كان يمكن توقع تأثير إدراج تغيير الكود قبل إدراج هذا التكلفة. على مدى 10 مستودعات مصدر مفتوح في Python، Go، وJavaScript، نحن نحدد كيف تنتشر التغيير من الخصائص الخاطئة عبر إدراج إشارة واحدة إلى تأثير إدراج. نحن نسأل ما إذا كان تأثير إدراج تغيير الكود يمكن أن يكون إبداعيًّا ولكن ليس إبداعيًّا: يمكن إدراج الكود بشكل كبير قبل إدراج هذا التكلفة، ولكن التأثير يعتمد بشكل كبير على قدرة إدراج واحد إلى حد ما على إدراج إدراج إدراجها كما هو الحال على مدى
Machine translation (Meta M2M100); the English original follows.
Repository-level retrieval-augmented generation systems must keep vector indexes synchronized with continuously evolving code, yet there is no principled basis for deciding which changed code units actually need new embeddings. We ask whether the retrieval impact of a code change can be anticipated before that embedding is computed. Across 10 open-source repositories in Python, Go, and JavaScript, we characterize how a change propagates from syntactic substantiality through embedding displacement to retrieval impact. The links are informative but not deterministic: syntactic class separates displacement sharply, yet impact depends on a unit's retrieval exposure as much as on how far its representation moves, and recurring counterexamples bound what any single signal can decide. We formalize the decision as CIPBench, a benchmark that scores maintenance policies under a strict pre-embedding information boundary. Prediction works, and one signal exhausts it. A ranker using only a unit's change history substantially reduces retrieval harm relative to random and recency-based scheduling. Combining it with three further signals--individually discriminative and largely unassociated with one another--leaves the decision statistically unchanged across every budget we evaluate, for reasons we trace to the structure of the score rather than to its tuning. What pays off is not ranking but filtering: units whose text is unchanged from the indexed state can be skipped with no risk and, in the most reversion-heavy project, at nearly half the embedding cost. Signal-level informativeness is therefore not evidence of decision-level value, and separating the two requires evaluating the decision a signal produces rather than its association with the outcome.
Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese
Topics: Discriminative model, Embedding, Computer science, Ranking (information retrieval), Benchmark (surveying), Counterexample
GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.25108, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txtSources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange