paper-with-me

Papers

AutoTest: Evolutionary Code Solution Selection with Test Cases

2024-08-22 · Zhihua Duan, Jialin Wang

With the development of code generation techniques, selecting the correct code solution from multiple candidate solutions has become a crucial task. This study proposes AutoTest, a novel technique that combines automated test case generation with code solution execution to optimize the selection process using an evolutionary genetic algorithm. Firstly, AutoTest utilizes large pre-trained language models such as codegen-16B, code-davinci-002, and incoder-6B to provide code solutions and their corresponding test cases. Then, by executing the code solutions and evaluating their performance on the test cases, a consensus set is formed. Fine-grained ranking is achieved through the selection, mutation, and crossover mechanisms based on the evolutionary genetic algorithm, with the adjustment of alpha and beta parameters. Finally, the best code solution is chosen. AutoTest demonstrates significant performance improvements on the HumanEval benchmark test. The HumanEval dataset consists of 164 programming problems, and AutoTest achieves approximately a 10% improvement over the baseline method in terms of pass@1 score.

📄 PDF Abstract BibTeX arXiv:2408.12125

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationHumanEval

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

TQ-AutoTest -- An Automated Test Suite for (Machine) Translation Quality

2018-05-01 · LREC 2018 5 · Vivien Macketanz, Renlong Ai, Aljoscha Burchardt, Hans Uszkoreit
Machine TranslationTranslation

AutoTestForge: A Multidimensional Automated Testing Framework for Natural Language Processing Models

2025-03-07 · Hengrui Xing, Cong Tian, Liang Zhao, Zhi Ma 외

In recent years, the application of behavioral testing in Natural Language Processing (NLP) model evaluation has experienced a remarkable and substantial growth. However, the existing methods continue to be restricted by…

FairnessSemantic Textual SimilaritySentiment AnalysisSTS

VP-AutoTest: A Virtual-Physical Fusion Autonomous Driving Testing Platform

2025-12-08 · Yiming Cui, Shiyu Fang, Jiarui Zhang, Yan Huang 외 arxiv

The rapid development of autonomous vehicles has led to a surge in testing demand. Traditional testing methods, such as virtual simulation, closed-course, and public road testing, face several challenges, including unrea…

Autonomous VehiclesAutonomous Driving

Preselection via Classification: A Case Study on Evolutionary Multiobjective Optimization

2017-08-03 · Jinyuan Zhang, Aimin Zhou, Ke Tang, Guixu Zhang

In evolutionary algorithms, a preselection operator aims to select the promising offspring solutions from a candidate offspring set. It is usually based on the estimated or real objective values of the candidate offsprin…

ClassificationEvolutionary AlgorithmsGeneral ClassificationMultiobjective Optimization

Benchmarking Subset Selection from Large Candidate Solution Sets in Evolutionary Multi-objective Optimization

2022-01-18 · Ke Shang, Tianye Shu, Hisao Ishibuchi, Yang Nan 외

In the evolutionary multi-objective optimization (EMO) field, the standard practice is to present the final population of an EMO algorithm as the output. However, it has been shown that the final population often include…

Benchmarking