Datasets:
konstantgr
commited on
Upload docs and expected figures
Browse files
analysis/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Dataset Summary
|
2 |
+
The presented dataset contains `10000` Jupyter notebooks,
|
3 |
+
each of which contains at least one error. In addition to the notebook content,
|
4 |
+
the dataset also provides information about the repository where the notebook is stored.
|
5 |
+
This information can help restore the environment if needed.
|
6 |
+
|
7 |
+
![dataset_errors_overview.svg](docs%2Fstatic%2Fdataset_errors_overview.svg)
|
8 |
+
|
9 |
+
# Getting Started
|
10 |
+
This dataset is organized such that it can be naively loaded via the Hugging Face datasets library. We recommend using streaming due to the large size of the files.
|
11 |
+
|
12 |
+
```Python
|
13 |
+
import nbformat
|
14 |
+
from datasets import load_dataset
|
15 |
+
|
16 |
+
dataset = load_dataset(
|
17 |
+
"JetBrains-Research/jupyter-errors-dataset", split="test", streaming=True
|
18 |
+
)
|
19 |
+
row = next(iter(dataset))
|
20 |
+
notebook = nbformat.reads(row["content"], as_version=nbformat.NO_CONVERT)
|
21 |
+
```
|
analysis/docs/static/dataset_errors_overview.svg
ADDED
analysis/figures/errors_distribution.pdf
ADDED
Binary file (13.5 kB). View file
|
|
analysis/figures/external_internal_ratio.pdf
ADDED
Binary file (11.7 kB). View file
|
|