CodeSift: An LLM-Based Reference-Less Framework for Automatic Code Validation

Pooja Aggarwal, Oishik Chatterjee, Ting Dai, Prateeti Mohapatra, Brent Paulovicks +2 more
8/28/2024
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

The advent of large language models (LLMs) has greatly facilitated code generation, but ensuring the functional correctness of generated code remains a challenge. Traditional validation methods are often time-consuming, error-prone, and impractical for large volumes of code. We introduce CodeSift, a novel framework that leverages LLMs as the first-line filter of code validation without the need for execution, reference code, or human feedback, thereby reducing the validation effort. We assess the effectiveness of our method across three diverse datasets encompassing two programming languages. Our results indicate that CodeSift outperforms state-of-the-art code evaluation methods. Internal testing conducted with subject matter experts reveals that the output generated by CodeSift is in line with human preference, reinforcing its effectiveness as a dependable automated code validation tool.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{aggarwal2024codesift,
  title  = {CodeSift: An LLM-Based Reference-Less Framework for Automatic Code Validation},
  author = {Pooja Aggarwal and Oishik Chatterjee and Ting Dai and Prateeti Mohapatra and Brent Paulovicks and Brad Blancett and Arthur De Magalhaes},
  year   = {2024},
  eprint = {2408.15630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.15630v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.15630.svg)](https://codeofpaper.com/paper/2408.15630)

Discussion