内容
精选全部 AI 动态AI 日报主题收藏
接入
Agent 接入
更多
关于更新日志反馈
京ICP备2026012723号-2
原文
HuggingFace Daily Papers(社区热门论文)
47

CodeNib:为编程智能体提供仓库上下文的多视图数据系统

2026-07-28 08:00· 1天前
跳到正文
AI 摘要

CodeNib 为每个仓库提交构建可复用的词法、稠密和结构视图,通过单一运行时提供排序搜索、符号导航和限定上下文。在 100 个快照上,图更新和向量更新中位数分别比独立重建快 8.7 倍和 25.4 倍;在静态导航子集上,每请求中位延迟比为 4.7 倍。跨五个模型,选定上下文策略比 grep/read 配对减少 50–87% 的轨迹 token。

原文 · 未翻译

Coding agents repeatedly search, navigate, and retain context from evolving repositories, but disconnected indexes, language servers, and task-local histories force repeated discovery and obscure lifecycle costs. CodeNib builds reusable lexical, dense, and structural views per repository commit, maps outputs to repository-relative source ranges, maintains selected views across edits, and serves ranked search, symbol navigation, and bounded context through one runtime. Across 100 snapshots, we map quality-cost frontiers across the repository-context lifecycle. When outputs match an independent rebuild, graph and vector updates are $8.7\times$ and $25.4\times$ faster at the median. On the static-navigation subset matching normalized live-server locations (63% of 1,000 requests), the median per-request live/static latency ratio is $4.7\times$. Across five models, selected context policies preserve localization with 50--87% fewer trajectory tokens than paired grep/read. Together, these results support multi-view repository-context serving with explicit, operation-specific validity boundaries.

智能体arXiv编码论文/研究
阅读原文
47导出 Markdown

CodeNib:为编程智能体提供仓库上下文的多视图数据系统

HuggingFace Daily Papers(社区热门论文)·2026-07-28 08:00·1天前
阅读原文· arxiv.org
AI 摘要

CodeNib 为每个仓库提交构建可复用的词法、稠密和结构视图,通过单一运行时提供排序搜索、符号导航和限定上下文。在 100 个快照上,图更新和向量更新中位数分别比独立重建快 8.7 倍和 25.4 倍;在静态导航子集上,每请求中位延迟比为 4.7 倍。跨五个模型,选定上下文策略比 grep/read 配对减少 50–87% 的轨迹 token。

原文 · 保持原样,未翻译

Coding agents repeatedly search, navigate, and retain context from evolving repositories, but disconnected indexes, language servers, and task-local histories force repeated discovery and obscure lifecycle costs. CodeNib builds reusable lexical, dense, and structural views per repository commit, maps outputs to repository-relative source ranges, maintains selected views across edits, and serves ranked search, symbol navigation, and bounded context through one runtime. Across 100 snapshots, we map quality-cost frontiers across the repository-context lifecycle. When outputs match an independent rebuild, graph and vector updates are $8.7\times$ and $25.4\times$ faster at the median. On the static-navigation subset matching normalized live-server locations (63% of 1,000 requests), the median per-request live/static latency ratio is $4.7\times$. Across five models, selected context policies preserve localization with 50--87% fewer trajectory tokens than paired grep/read. Together, these results support multi-view repository-context serving with explicit, operation-specific validity boundaries.

导出 Markdown
智能体arXiv编码论文/研究
阅读原文arxiv.org