Datasets:

ArXiv:
DOI:
License:
Yiran Wang commited on
Commit
ae5070d
·
1 Parent(s): 3fc96ba

update readme

Browse files
Files changed (1) hide show
  1. README.md +5 -41
README.md CHANGED
@@ -7,10 +7,11 @@ pretty_name: JunoBench
7
 
8
  # 📘 JunoBench: A Benchmark Dataset of Crashes in Machine Learning Python Jupyter Notebooks
9
 
 
10
 
11
  ## 📂 Contents
12
 
13
- The benchmark dataset contains 111 reproducible ML notebooks with crashes, each paired with a verifiable fix. It covers a broad range of popular ML libraries, including TensorFlow/Keras, PyTorch, Scikit-learn, Pandas, and NumPy, as well as notebook-specific out-of-order execution issue. To support reproducibility and ease of use, JunoBench offers a unified execution environment in which all crashes and fixes can be reliably reproduced.
14
 
15
  The ML library distribution is as follows:
16
 
@@ -33,51 +34,20 @@ The structure of the benchmark repository is the following:
33
 
34
  ## 🛠 Usage
35
 
36
- This dataset is suitable for studying crashes (e.g., bug reproducing, detection, localization, and repair) in ML notebooks.
37
 
38
- You can use the requirements specification or Docker to recreate the exact environments.
39
-
40
- ### 📄 Reproducing Environment Option 1 (recommended): using our shared Docker image
41
-
42
- To ensure full reproducibility (including Python version, system libraries, and all dependencies), you can use our compiled docker image directly:
43
 
44
  ```
45
  docker pull yarinamomo/kaggle_python_env:latest
46
  ```
47
 
48
- Then run the image:
49
 
50
  ```
51
  docker run -v [volumn mount windows path]:/junobench_env -w=/junobench_env -p 8888:8888 -it yarinamomo/kaggle_python_env:latest jupyter notebook --no-browser --ip="0.0.0.0" --notebook-dir=/junobench_env --allow-root
52
  ```
53
 
54
- ### 📄 Reproducing Environment Option 2: build your own Docker image
55
-
56
- You can also choose to build your own docker image by using our pre-configured Docker image from this repository:
57
-
58
- 📦 GitHub Repo: [yarinamomo/docker-kaggle-python](https://github.com/yarinamomo/docker-kaggle-python)
59
-
60
- ### 📄 Reproducing Environment - Option 3: using virtual envrironment (not recommended)
61
-
62
- You can recreate the Python environment on your system as follows:
63
-
64
- #### Requirements
65
- - Python 3.10
66
- - `pip`, `venv`, and basic build tools
67
- - [requirements.txt](./requirements.txt)
68
-
69
- #### Setup Instructions
70
-
71
- **Linux** or **WSL** on Windows (the same requirements file as in the Docker image):
72
- ```bash
73
- # Create a virtual environment
74
- python3.10 -m venv venv
75
- source venv/bin/activate
76
-
77
- # Install required packages
78
- pip install -r requirements.txt
79
- ```
80
-
81
  ### 🐳 Execute notebooks with `auto_notebook_executer.py`:
82
 
83
  You can execute the notebooks by using this tool. This tool can be used by command line:
@@ -94,12 +64,6 @@ You can also execute the notebooks via a Jupyter notebook platform. The executio
94
 
95
  For notebook specific errors (NBspecific_1-20), there maybe due to one cell being executed more than once. For those cases, the cells with an identifier "[reexecute]" or "[re-execute]" should be executed twice consecutively.
96
 
97
- ## 📖 Citation
98
-
99
- If you use this dataset in your research, please cite:
100
-
101
- [todo]
102
-
103
  ## 📝 License & Attribution
104
 
105
  This project is for academic research purposes only.
 
7
 
8
  # 📘 JunoBench: A Benchmark Dataset of Crashes in Machine Learning Python Jupyter Notebooks
9
 
10
+ This repository is the compiled benchmark dataset of paper "JunoBench: A Benchmark Dataset of Crashes in Machine Learning Python Jupyter Notebooks". The code repository of constructing the benchmark is on GitHub: [JunoBench_construct](https://github.com/PELAB-LiU/JunoBench_construct). This dataset is suitable for studying crashes (e.g., bug reproducing, detection, diagnose, localization, and repair) in ML notebooks.
11
 
12
  ## 📂 Contents
13
 
14
+ This benchmark dataset contains 111 reproducible ML notebooks with crashes, each paired with a verifiable fix. It covers a broad range of popular ML libraries, including TensorFlow/Keras, PyTorch, Scikit-learn, Pandas, and NumPy, as well as notebook-specific out-of-order execution issue. To support reproducibility and ease of use, JunoBench offers a unified execution environment in which all crashes and fixes can be reliably reproduced.
15
 
16
  The ML library distribution is as follows:
17
 
 
34
 
35
  ## 🛠 Usage
36
 
37
+ ### 📄 Environment: using our shared Docker image
38
 
39
+ We compiled a docker image to ensure full reproducibility (including Python version, system libraries, and all dependencies):
 
 
 
 
40
 
41
  ```
42
  docker pull yarinamomo/kaggle_python_env:latest
43
  ```
44
 
45
+ To run the image:
46
 
47
  ```
48
  docker run -v [volumn mount windows path]:/junobench_env -w=/junobench_env -p 8888:8888 -it yarinamomo/kaggle_python_env:latest jupyter notebook --no-browser --ip="0.0.0.0" --notebook-dir=/junobench_env --allow-root
49
  ```
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ### 🐳 Execute notebooks with `auto_notebook_executer.py`:
52
 
53
  You can execute the notebooks by using this tool. This tool can be used by command line:
 
64
 
65
  For notebook specific errors (NBspecific_1-20), there maybe due to one cell being executed more than once. For those cases, the cells with an identifier "[reexecute]" or "[re-execute]" should be executed twice consecutively.
66
 
 
 
 
 
 
 
67
  ## 📝 License & Attribution
68
 
69
  This project is for academic research purposes only.