Datasets:
ArXiv:
DOI:
License:
Yiran Wang
commited on
Commit
·
c23dfde
1
Parent(s):
4be41e6
update
Browse files- .gitignore +2 -1
- README.md +25 -24
- requirements.txt +1 -1
.gitignore
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
**/.virtual_documents
|
| 2 |
**/.ipynb_checkpoints
|
| 3 |
**/.venv
|
| 4 |
-
**/.vscode
|
|
|
|
|
|
| 1 |
**/.virtual_documents
|
| 2 |
**/.ipynb_checkpoints
|
| 3 |
**/.venv
|
| 4 |
+
**/.vscode
|
| 5 |
+
test.py
|
README.md
CHANGED
|
@@ -33,31 +33,11 @@ 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,
|
| 37 |
|
| 38 |
-
You can use the
|
| 39 |
|
| 40 |
-
### 📄 Reproducing Environment
|
| 41 |
-
|
| 42 |
-
You can recreate the Python environment used in this research as follows:
|
| 43 |
-
|
| 44 |
-
#### Requirements
|
| 45 |
-
- Python 3.10
|
| 46 |
-
- `pip`, `venv`, and basic build tools
|
| 47 |
-
- requirements.txt (can be found in this repo)
|
| 48 |
-
|
| 49 |
-
#### Setup Instructions
|
| 50 |
-
|
| 51 |
-
```bash
|
| 52 |
-
# Create a virtual environment
|
| 53 |
-
python3.10 -m venv venv
|
| 54 |
-
source venv/bin/activate
|
| 55 |
-
|
| 56 |
-
# Install required packages
|
| 57 |
-
pip install -r requirements.txt
|
| 58 |
-
```
|
| 59 |
-
|
| 60 |
-
### 📄 Reproducing Environment Option 2: using our shared Docker image
|
| 61 |
|
| 62 |
To ensure full reproducibility (including Python version, system libraries, and all dependencies), you can use our compiled docker image directly:
|
| 63 |
|
|
@@ -71,12 +51,33 @@ Then run the image:
|
|
| 71 |
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
|
| 72 |
```
|
| 73 |
|
| 74 |
-
### 📄 Reproducing Environment Option
|
| 75 |
|
| 76 |
You can also choose to build your own docker image by using our pre-configured Docker image from this repository:
|
| 77 |
|
| 78 |
📦 GitHub Repo: [yarinamomo/docker-kaggle-python](https://github.com/yarinamomo/docker-kaggle-python)
|
| 79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
### 🐳 Execute notebooks with `auto_notebook_executer.py`:
|
| 81 |
|
| 82 |
You can execute the notebooks by using this tool. This tool can be used by command line:
|
|
|
|
| 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 |
|
|
|
|
| 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:
|
requirements.txt
CHANGED
|
@@ -213,7 +213,7 @@ google-cloud-storage==2.8.0
|
|
| 213 |
google-cloud-translate==3.12.1
|
| 214 |
google-cloud-videointelligence==2.14.1
|
| 215 |
google-cloud-vision==3.8.1
|
| 216 |
-
google-colab @ file:///colabtools/dist/google_colab-1.0.0.tar.gz#sha256=deb182392f5f78765ea686f1200ff7cfd42e31bdf8d172a68d6a29f657e1fe18
|
| 217 |
google-crc32c==1.6.0
|
| 218 |
google-generativeai==0.7.2
|
| 219 |
google-pasta==0.2.0
|
|
|
|
| 213 |
google-cloud-translate==3.12.1
|
| 214 |
google-cloud-videointelligence==2.14.1
|
| 215 |
google-cloud-vision==3.8.1
|
| 216 |
+
# google-colab @ file:///colabtools/dist/google_colab-1.0.0.tar.gz#sha256=deb182392f5f78765ea686f1200ff7cfd42e31bdf8d172a68d6a29f657e1fe18
|
| 217 |
google-crc32c==1.6.0
|
| 218 |
google-generativeai==0.7.2
|
| 219 |
google-pasta==0.2.0
|