Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'test' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7fb37f76b350>'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4645, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2866, in _head
                  return next(iter(self.iter(batch_size=n)))
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3073, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2581, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/xml/xml.py", line 67, in _generate_tables
                  with open(file, encoding=self.config.encoding, errors=self.config.encoding_errors) as f:
                       ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/streaming.py", line 73, in wrapper
                  return function(*args, download_config=download_config, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 961, in xopen
                  return open(main_hop, mode, *args, **kwargs)
              FileNotFoundError: [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7fb37f76b350>'

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Defects4X — container/device assets (250 cases)

This Hugging Face dataset is the runtime companion to the source-level GitHub repository:

  • GitHub: https://github.com/146854hgfhbk/Defects
  • Scope: 250 cases that are not covered by the 600 pure-source guides
    • Elixir 100 — container-oriented
    • Swift 100 — container-oriented
    • ArkTS 50 — device/emulator-oriented

Security notice

2026-10-22: the reference server that produced the original image tars was compromised by a worm. The 7 prebuilt tars were removed from this dataset. Do not use cached copies. Rebuild the runtime images from source.

What is in this repository

README.md
SECURITY.md
images/
  manifest.json          # 250 cases -> image/digest/kind/guide
  swift-images.json      # 5 unique Swift images
  elixir-images.json     # 98 unique Elixir images
  README.md              # image policy
  build/                 # clean-room Dockerfiles + Makefile
  PREPARE.md             # build/pull instructions
guides/
  elixir.md
  swift.md
  arkts.md
scripts/
  pull_images.py
  verify_images.py

Build from source

The 7 non-public images are rebuilt from official base images:

cd images/build
make build
make verify

See images/build/README.md. No cache, binary, or toolchain tarball from the reference server is used. The 96 public Elixir images are pulled by digest.

Image policy

  • Elixir: 96 public swerebenchv2/* images + 2 clean-room-built local images.
  • Swift: 5 clean-room-built images, 4.67–11.1 GB each.
  • ArkTS: no portable image; device/emulator + SDK + signing.
  • Old binary tars: removed / untrusted.
  • A clean rebuild will not reproduce the old image digests; verify runtime and trigger outcomes instead.

Quick start

# 1. inspect the 250-case map
python - <<'PY'
import json
m=json.load(open('images/manifest.json'))
print(m['case_count'])
for c in m['cases'][:5]: print(c)
PY

# 2. build the non-public images
cd images/build && make build && cd ../..

# 3. pull public Elixir images by digest
python scripts/pull_images.py --language elixir

# 4. read the guide and run the case
less guides/elixir.md
less guides/swift.md

Case counts

Language Cases Unique images Mode
Elixir 100 98 container
Swift 100 5 container
ArkTS 50 0 device
Total 250 103

Source metadata

The 250 case.json files, patches, and environment locks are in the GitHub repository:

https://github.com/146854hgfhbk/Defects/tree/main/cases/elixir
https://github.com/146854hgfhbk/Defects/tree/main/cases/swift
https://github.com/146854hgfhbk/Defects/tree/main/cases/arkts

License and third-party assets

  • Metadata and documentation: MIT (same as the GitHub repository).
  • Docker base images, SDKs, and toolchains remain under their own licenses.
  • Do not redistribute an image unless its license permits it.
  • ArkTS device material and signing certificates are not included.

Known limitations

  • Elixir image tags/digests were captured from the reference server; some base images are local-only. The manifest records the digest, but a public pull may fail for local-only tags.
  • Swift images are local builds; use the Dockerfiles and the toolchain assets described in guides/swift.md.
  • ArkTS is DEVICE_REQUIRED; a container alone is not sufficient.
Downloads last month
196