five

Adaptive Parameter Control for Search-Based Unit Test Generation — Replication Package

收藏
Mendeley Data2024-06-29 更新2024-06-30 收录
下载链接:
https://zenodo.org/records/11353852
下载链接
链接失效反馈
官方服务:
资源简介:
Running the experiments Prerequisites for running the expriements: Docker Poetry Steps to run the experiments: Download the experiment zip file you wish to run (single_parameter_experiment.zip or multi_parameter_experiment.zip). Un-zip the file. Open a terminal and navigate to the unzipped folder (e.g. cd single_parameter_experiment). Run poetry install --only main to install all dependencies. To run the experiment, run poetry run python run_experiment.py. All results can be found in the folder data/. The modules used for the experiment are defined in the file experiment_modules.py and to see the experiment configuration, look in run_experiment.py. Warning: the experiments take several weeks to run on a single machine, therefore it is advisable to split the experiments based on modules and run them in parallel. Running the analysis Prerequisites for running the analysis: Conda Steps to run the analysis: Download the analysis zip file (analysis-adaptive-parameter-control.zip). Un-zip the file. Open a terminal and navigate to the unzipped folder (e.g. cd analysis-adaptive-parameter-control). Run the following command to install the conda environment and all dependencies: conda env create -f environment.yml If you want to re-run the Bayesian models locally on your machine, follow the optional step below, otherwise download and unzip the file Trace data.zip from here. Place the .nc files in the corresponding folder: analysis-adaptive-parameter-control/single_parameter/ or analysis-adaptive-parameter-control/multi_parameter/. Navigate to the notebooks folder (Notebooks/). Open a notebook of choice (coverage_rate_multi_parameter.ipynb, coverage_rate_single_parameter.ipynb, final_coverage_multi_parameter.ipynb, final_coverage_single_parameter.ipynb, overhead_model_multi_parameter.ipynb, or overhead_model_single_parameter.ipynb). Navigate to the section called "Data analysis" and run all cells in order. (Optional) Running the Bayesian models locally before the analysis. Navigate to the notebooks folder (Notebooks/). Open a notebook of choice (coverage_rate_multi_parameter.ipynb, coverage_rate_single_parameter.ipynb, final_coverage_multi_parameter.ipynb, final_coverage_single_parameter.ipynb, overhead_model_multi_parameter.ipynb, or overhead_model_single_parameter.ipynb). Navigate to the section called "Model specification" and run the three notebook cells. Warning: this will take a long time, if you don't have the time, use the following alternative instead Data The data from when we ran the experiments is available in the Single data.zip and Multi data.zip files. The structure of these are the following: There are folders for each module the experiment was run on, further devided into each unique run. All these folder include: Coverage reports. Complete logs for the unique run. A timeline over controlled parameter values during the test generation process. The complete Pynguin configuration for the run. The generated test suite. There is one statistics.csv file containing some information about each run and their branch coverage timelines.
创建时间:
2024-05-30
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作