遇见数据集

Automated Unit Test Generation via Chain of Thought Prompt and Reinforcement Learning

收藏
Figshare2025-01-20 更新2026-04-08 收录
官方服务:

资源简介:

IntroductionThis is the replication package for the paper "Automated Unit Test Generation via Chain of Thought Prompt and Reinforcement Learning".Organization of the Replication Package<b>checkpoints.zip:</b> 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.<b>dataset.zip</b>: Datasets for fine-tuning and reinforcement learning, including the CoT dataset, reward dataset (reward folder), and the dataset for PPO optimization (rl folder).<b>evaluation.zip:</b> scripts for evaluating the generated tests, including CodeBLEU, syntactic correct rate, compilation passing rate, line coverage rate, and branch coverage rate.<b>finetune.zip: </b>scripts and configs for fine-tuning large language models for test generation.<b>generated_test_result.zip:</b> the generated tests.<b>pretrain.zip:</b> pre-trained models, including CodeLlama, CodeBERT, CodeT5, and CodeBERT.<b>CoT_quality.zip: </b>the example of evaluating CoT prompts.

提供机构:
Anonymous, Anonymous
创建时间:
2025-01-20
二维码
社区交流群
二维码
科研交流群
商业服务