paper-with-me

Papers

Natural Language Outlines for Code: Literate Programming in the LLM Era

2024-08-09 · Kensen Shi, Deniz Altınbüken, Saswat Anand, Mihai Christodorescu, Katja Grünwedel, Alexa Koenings, Sai Naidu, Anurag Pathak, Marc Rasi, Fredde Ribeiro, Brandon Ruffin, Siddhant Sanyam, Maxim Tabachnyk, Sara Toth, Roy Tu, Tobias Welp, Pengcheng Yin, Manzil Zaheer, Satish Chandra, Charles Sutton

We propose using natural language outlines as a novel modality and interaction surface for providing AI assistance to developers throughout the software development process. An NL outline for a code function comprises multiple statements written in concise prose, which partition the code and summarize its main ideas in the style of literate programming. Crucially, we find that modern LLMs can generate accurate and high-quality NL outlines in practice. Moreover, NL outlines enable a bidirectional sync between code and NL, where a developer can change either code or NL and have the LLM automatically update the other. We discuss many use cases for NL outlines: they can accelerate understanding and navigation of code and diffs, simplify code maintenance, augment code search, steer code generation, and more. We then propose and compare multiple LLM prompting techniques for generating outlines and ask professional developers to judge outline quality. Finally, we present two case studies applying NL outlines toward code review and malware detection.

📄 PDF Abstract BibTeX arXiv:2408.04820

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCode SearchMalware Detection

Similar Papers 제목 키워드 기반

Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projects

2024-12-25 · Wuyang Zhang, Yansong Li, Zeyu Dong, Yu Wu 외

Large Language Models (LLMs) have helped programmers increase efficiency through code generation, comprehension, and repair. However, their application to large-scale projects remains challenging due to complex interdepe…

Code GenerationPrompt Engineering

Grammar-Aware Literate Generative Mathematical Programming with Compiler-in-the-Loop

2026-01-25 · Roberto Rossi, Steven D. Prestwich arxiv

Mathematical programming is widely employed across various sectors - such as logistics, energy, and workforce planning - to model and solve industrial optimisation problems, but its use requires substantial domain expert…

Evaluating the Application of Large Language Models to Generate Feedback in Programming Education

2024-03-13 · Sven Jacobs, Steffen Jaschke

This study investigates the application of large language models, specifically GPT-4, to enhance programming education. The research outlines the design of a web application that uses GPT-4 to provide feedback on program…

BanTH: A Multi-label Hate Speech Detection Dataset for Transliterated Bangla

2024-10-17 · Fabiha Haider, Fariha Tanjim Shifat, Md Farhan Ishmam, Deeparghya Dutta Barua 외

The proliferation of transliterated texts in digital spaces has emphasized the need for detecting and classifying hate speech in languages beyond English, particularly in low-resource languages. As online discourse can p…

ClassificationHate Speech DetectionMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATION+1

MERA Code: A Unified Framework for Evaluating Code Generation Across Tasks

2025-07-16 · Artem Chervyakov, Alexander Kharitonov, Pavel Zadorozhny, Adamenko Pavel 외

Advancements in LLMs have enhanced task automation in software engineering; however, current evaluations primarily focus on natural language tasks, overlooking code quality. Most benchmarks prioritize high-level reasonin…

Code Generation