Papers › CursorCore: Assist Programming through Aligning Anything

CursorCore: Assist Programming through Aligning Anything

9 Oct 2024arXiv:2410.07002archive 2025-07-28

Hao Jiang, Qi Liu, Rui Li, Shengyu Ye, Shijin Wang

Large language models have been successfully applied to programming assistance tasks, such as code completion, code insertion, and instructional code editing. However, these applications remain insufficiently automated and struggle to effectively integrate various types of information during the programming process, including coding history, current code, and user instructions. In this work, we propose a new conversational framework that comprehensively integrates these information sources, collect data to train our models and evaluate their performance. Firstly, to thoroughly evaluate how well models align with different types of information and the quality of their outputs, we introduce a new benchmark, APEval (Assist Programming Eval), to comprehensively assess the performance of models in programming assistance tasks. Then, for data collection, we develop a data generation pipeline, Programming-Instruct, which synthesizes training data from diverse sources, such as GitHub and online judge platforms. This pipeline can automatically generate various types of messages throughout the programming process. Finally, using this pipeline, we generate 219K samples, fine-tune multiple models, and develop the CursorCore series. We show that CursorCore outperforms other models of comparable size. This framework unifies applications such as inline chat and automated editing, contributes to the advancement of coding assistants. Code, models and data are freely available at https://github.com/TechxGenus/CursorCore.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.07002")

Code

Syntology Ran 13 of 13 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

TechxGenus/CursorCore officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 13 ran; 0 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from TechxGenus/CursorCore. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

blockwise_if_continuous_modify TechxGenus/CursorCore/src/utils.py official repository ran Apache-2.0 (permissive) · 21cc834ebb3bd7ef · report
generate_diff TechxGenus/CursorCore/src/utils.py official repository ran Apache-2.0 (permissive) · 21907cbb784ea33c · report
get_changes TechxGenus/CursorCore/src/post_collection.py official repository ran Apache-2.0 (permissive) · e43ddd2a28d90d8e · report
if_continuous_modify TechxGenus/CursorCore/src/utils.py official repository ran Apache-2.0 (permissive) · 57b8a8ace06f9a19 · report
line_cost TechxGenus/CursorCore/eval/search_and_replace.py official repository ran fingerprinted Apache-2.0 (permissive) · 916956e5856475da · report
match_without_whitespace TechxGenus/CursorCore/eval/search_and_replace.py official repository ran fingerprinted Apache-2.0 (permissive) · 980c046abbc74a62 · report
postprocess_output_lc TechxGenus/CursorCore/eval/utils.py official repository ran fingerprinted Apache-2.0 (permissive) · b5c86200852e285c · report
postprocess_output_sr TechxGenus/CursorCore/eval/utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 66a98652392c56f7 · report
postprocess_output_wf TechxGenus/CursorCore/eval/utils.py official repository ran fingerprinted Apache-2.0 (permissive) · 28bc4376d8a33de9 · report
ratio_str TechxGenus/CursorCore/eval/extract_results.py official repository ran Apache-2.0 (permissive) · 2f5254e21188f550 · report
sample_from_boundaries TechxGenus/CursorCore/src/post_collection.py official repository ran Apache-2.0 (permissive) · f8e59191046eada4 · report
sample_from_ranges TechxGenus/CursorCore/src/post_collection.py official repository ran Apache-2.0 (permissive) · a6ac45fd74c40523 · report
score_line TechxGenus/CursorCore/eval/search_and_replace.py official repository ran fingerprinted Apache-2.0 (permissive) · 9a30f2d2fabf7319 · report

Tasks

Code Completion

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections