A 50 Python projects Benchmark that is large-scale, diverse, ready-to-run, and ready-to-analyze.
562
The first benchmark of Python projects that is large-scale, diverse, ready-to-run (i.e., with fully configured and prepared test suites), and ready-to-analyze (i.e., using an integrated Python dynamic analysis framework). The benchmark encompasses 50 popular open-source projects from various application domains, with a total of 681K lines of Python code, and 30K test cases.
Important Note
A quick way to use DyPyBench is to download one of our images from DockerHub or ZenoDo (see instructions below); then login to the docker image.
A good practice is to always start by running the test cases for each project. This will create a folder for the project under ~/temp/projectN and will have all the installed dependencies and configuration.
For any downstream task, use the projects folders under ~/temp that are created after running the test cases.
To use our shared image of dypybench, you need to have the following requirements:
- Docker >= 20.10
Due to the substantial size of the image (55GB), uploading a new image for minor changes is impractical. Consequently, we propose implementing a patching mechanism as follows:
Patches addressing specific issues will appear in the "Releases" section of DyPybench Repo; they will be provided as zip files.
Copy the patch zip file into the Docker container and proceed to unzip it
# Copy the patch to the docker image
docker cp patch_XX.zip dypybench:/DyPyBench
# Inside your docker, in the directory /DyPyBench run this command
unzip patch_XX.zip
Execute the command "python3.10 patch_XX.py" within the container, replacing "patch_XX.py" with the accurate script name obtained after unzipping the patch.
# move to the patch directory
cd patch_XX
# execute the patch script
python3.10 patch_XX.py
Here is a list of the most useful commands of DyPyBench.
Here is the list of all available flags that you can use with each command.
Content type
Image
Digest
sha256:20907b92c…
Size
55.7 GB
Last updated
almost 3 years ago
docker pull islemdockerdev/dypybench:v2.0