paper-with-me

홈 › Papers

CCCI: Code Completion with Contextual Information for Complex Data Transfer Tasks Using Large Language Models

2025-03-29 · Hangzhan Jin, Mohammad Hamdaqa

Unlike code generation, which involves creating code from scratch, code completion focuses on integrating new lines or blocks of code into an existing codebase. This process requires a deep understanding of the surrounding context, such as variable scope, object models, API calls, and database relations, to produce accurate results. These complex contextual dependencies make code completion a particularly challenging problem. Current models and approaches often fail to effectively incorporate such context, leading to inaccurate completions with low acceptance rates (around 30\%). For tasks like data transfer, which rely heavily on specific relationships and data structures, acceptance rates drop even further. This study introduces CCCI, a novel method for generating context-aware code completions specifically designed to address data transfer tasks. By integrating contextual information, such as database table relationships, object models, and library details into Large Language Models (LLMs), CCCI improves the accuracy of code completions. We evaluate CCCI using 289 Java snippets, extracted from over 819 operational scripts in an industrial setting. The results demonstrate that CCCI achieved a 49.1\% Build Pass rate and a 41.0\% CodeBLEU score, comparable to state-of-the-art methods that often struggle with complex task completion.

📄 PDF Abstract BibTeX arXiv:2503.23231

Code (0)

등록된 구현이 없습니다.

Tasks

Code CompletionCode Generation

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

ContextModule: Improving Code Completion via Repository-level Contextual Information

2024-12-11 · Zhanming Guan, Junlin Liu, Jierui Liu, Chao Peng 외

Large Language Models (LLMs) have demonstrated impressive capabilities in code completion tasks, where they assist developers by predicting and generating new code in real-time. However, existing LLM-based code completio…

Code Completion

Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Study

2023-04-24 · Tim van Dam, Maliheh Izadi, Arie van Deursen

Transformer-based pre-trained models have recently achieved great results in solving many software engineering tasks including automatic code completion which is a staple in a developer's toolkit. While many have striven…

Code Completion

Digging into Intrinsic Contextual Information for High-fidelity 3D Point Cloud Completion

2024-12-11 · Jisheng Chu, Wenrui Li, Xingtao Wang, Kanglin Ning 외

The common occurrence of occlusion-induced incompleteness in point clouds has made point cloud completion (PCC) a highly-concerned task in the field of geometric processing. Existing PCC methods typically produce complet…

Point Cloud Completion

MuCo-KGC: Multi-Context-Aware Knowledge Graph Completion

2025-03-05 · Haji Gul, Ajaz Ahmad Bhat, Abdul Ghani Haji Naim

Knowledge graph completion (KGC) seeks to predict missing entities (e.g., heads or tails) or relationships in knowledge graphs (KGs), which often contain incomplete data. Traditional embedding-based methods, such as Tran…

Knowledge Graph CompletionKnowledge GraphsTriplet

A Contextualized BERT model for Knowledge Graph Completion

2024-12-15 · Haji Gul, Abdul Ghani Naim, Ajaz A. Bhat

Knowledge graphs (KGs) are valuable for representing structured, interconnected information across domains, enabling tasks like semantic search, recommendation systems and inference. A pertinent challenge with KGs, howev…

Knowledge Graph CompletionKnowledge GraphsmodelRecommendation Systems+1