Live
Black Hat USADark ReadingBlack Hat AsiaAI BusinessOpenClaw has 500,000 instances and no enterprise kill switchVentureBeat AIHere's how U.S. residents feel about Trump's signature on American cashAxios TechStablecoin Market to Hit $2 Trillion in 2028 Even as Velocity Doubles: Standard CharteredDecrypt AIBuilding Trust Between Agents: AgentID + ArkForge InteroperabilityDEV CommunityI Analyzed Claude Code's Leaked Source — Here's How Anthropic's AI Agent Actually WorksDEV CommunityI wish AI Agents just knew how I work without me explaining - so I made something that quietly observes me, learns and teaches it.DEV CommunityEmotion-Aware Voice Agents: How AI Now Detects Frustration and Adjusts in Real TimeDEV CommunityXoul - Local Personal Assistant Agent Release (Beta, v0.1.0-beta)DEV CommunityIntroduction to GIT- GITHUB/GITLABDEV CommunityTurboQuant MoE 0.3.0DEV CommunityCSS Grid Lanes (Masonry Layout) Is Here: A Complete Guide for 2026DEV CommunityIran says it will start targeting US tech companies like Apple, Google, Meta, Microsoft, Nvidia and Tesla in the Middle East starting 8PM local time on April 1 (Julia Shapero/The Hill)TechmemeBlack Hat USADark ReadingBlack Hat AsiaAI BusinessOpenClaw has 500,000 instances and no enterprise kill switchVentureBeat AIHere's how U.S. residents feel about Trump's signature on American cashAxios TechStablecoin Market to Hit $2 Trillion in 2028 Even as Velocity Doubles: Standard CharteredDecrypt AIBuilding Trust Between Agents: AgentID + ArkForge InteroperabilityDEV CommunityI Analyzed Claude Code's Leaked Source — Here's How Anthropic's AI Agent Actually WorksDEV CommunityI wish AI Agents just knew how I work without me explaining - so I made something that quietly observes me, learns and teaches it.DEV CommunityEmotion-Aware Voice Agents: How AI Now Detects Frustration and Adjusts in Real TimeDEV CommunityXoul - Local Personal Assistant Agent Release (Beta, v0.1.0-beta)DEV CommunityIntroduction to GIT- GITHUB/GITLABDEV CommunityTurboQuant MoE 0.3.0DEV CommunityCSS Grid Lanes (Masonry Layout) Is Here: A Complete Guide for 2026DEV CommunityIran says it will start targeting US tech companies like Apple, Google, Meta, Microsoft, Nvidia and Tesla in the Middle East starting 8PM local time on April 1 (Julia Shapero/The Hill)Techmeme

Learning to Commit: Generating Organic Pull Requests via Online Repository Memory

HuggingFace PapersMarch 27, 20268 min read0 views
Source Quiz

Learning to Commit framework enhances LLM coding agents by using historical commit patterns to improve code organicity and adherence to project-specific conventions. (2 upvotes on HuggingFace)

Published on Mar 27

·

Submitted by

Mo Li

on Mar 30

Authors:

,

,

,

Abstract

Learning to Commit framework enhances LLM coding agents by using historical commit patterns to improve code organicity and adherence to project-specific conventions.

AI-generated summary

Large language model (LLM)-based coding agents achieve impressive results on controlled benchmarks yet routinely produce pull requests that real maintainers reject. The root cause is not functional incorrectness but a lack of organicity: generated code ignores project-specific conventions, duplicates functionality already provided by internal APIs, and violates implicit architectural constraints accumulated over years of development. Simply exposing an agent to the latest repository snapshot is not enough: the snapshot reveals the final state of the codebase, but not the repository-specific change patterns by which that state was reached. We introduce Learning to Commit, a framework that closes this gap through Online Repository Memory. Given a repository with a strict chronological split, the agent performs supervised contrastive reflection on earlier commits: it blindly attempts to resolve each historical issue, compares its prediction against the oracle diff, and distils the gap into a continuously growing set of skills-reusable patterns capturing coding style, internal API usage, and architectural invariants. When a new PR description arrives, the agent conditions its generation on these accumulated skills, producing changes grounded in the project's own evolution rather than generic pretraining priors. Evaluation is conducted on genuinely future, merged pull requests that could not have been seen during the skill-building phase, and spans multiple dimensions including functional correctness, code-style consistency, internal API reuse rate, and modified-region plausibility. Experiments on an expert-maintained repository with rich commit history show that Online Repository Memory effectively improves organicity scores on held-out future tasks.

View arXiv page View PDF Add to collection

Get this paper in your agent:

hf papers read 2603.26664

Don't have the latest CLI?

curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2603.26664 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2603.26664 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2603.26664 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.

Original source

HuggingFace Papers

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by AI News Hub · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

Knowledge Map

Knowledge Map
TopicsEntitiesSource
Learning to…researchpaperarxivlarge langu…coding agen…pull reques…HuggingFace…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 138 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Research Papers