Automated Unit Test Generation via Chain of Thought Prompt and Reinforcement Learning
收藏Figshare2025-01-20 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/Automated_Unit_Test_Generation_via_Chain_of_Thought_Prompt_and_Reinforcement_Learning/28235750
下载链接
链接失效反馈官方服务:
资源简介:
IntroductionThis is the replication package for the paper "Automated Unit Test Generation via Chain of Thought Prompt and Reinforcement Learning".Organization of the Replication Packagecheckpoints.zip: fine-tuned models, including TestCTRL, TestCT, TestCT-no-cot, TestCT-intention, TestCT-input, TestCT-ti, CodeBERT-line, CodeT5-line, CodeGPT-line, CodeBERT-branch, CodeT5-branch, and CodeGPT-branch.dataset.zip: Datasets for fine-tuning and reinforcement learning, including the CoT dataset, reward dataset (reward folder), and the dataset for PPO optimization (rl folder).evaluation.zip: scripts for evaluating the generated tests, including CodeBLEU, syntactic correct rate, compilation passing rate, line coverage rate, and branch coverage rate.finetune.zip: scripts and configs for fine-tuning large language models for test generation.generated_test_result.zip: the generated tests.pretrain.zip: pre-trained models, including CodeLlama, CodeBERT, CodeT5, and CodeBERT.CoT_quality.zip: the example of evaluating CoT prompts.
创建时间:
2025-01-20



