The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Column(/CWE114_Process_Control__w32_char_connect_socket_01_comment_dict/Combo_1/meta_info/nodes/node_2957/edits/[]/[]) changed from string to number in row 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 101, in _split_generators
pa_table = next(iter(self._generate_tables(**splits[0].gen_kwargs, allow_full_read=False)))[1]
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 304, in _generate_tables
batch = json_encode_fields_in_json_lines(original_batch, json_field_paths)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 111, in json_encode_fields_in_json_lines
examples = [ujson_loads(line) for line in original_batch.splitlines()]
~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/json.py", line 20, in ujson_loads
return pd.io.json.ujson_loads(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 71, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.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.
DR Evaluation Noise Pools
This dataset contains the retained behavior-preserving code variants and realized-distance metadata used to evaluate the robustness of LLM-based vulnerability analyzers. The corresponding evaluation and Acc-based DR/SIR implementation is available in the TOSEM artifact repository.
Files
| File | Description |
|---|---|
noise_pools_all.zip |
Combined Juliet, PrimeVul, and MegaVul perturbation pools |
Archive properties:
- compressed size: 494,118,658 bytes (471.23 MiB);
- uncompressed size: 7,188,405,146 bytes (approximately 6.69 GiB);
- JSON pool files: 22,293;
- SHA-256:
2EFC57199F3E497D48772FB322D97EA7F1393BC8C1D24EB00D2E1D224F6ED824.
Evaluation Scope
The reported evaluation uses five dataset-language subsets:
| Dataset | Language | Paired base files |
|---|---|---|
| Juliet | Java | 244 |
| Juliet | C | 363 |
| PrimeVul | C | 196 |
| MegaVul | Java | 335 |
| MegaVul | C | 335 |
Only these dataset-language combinations are part of the reported benchmark. The archive is preserved byte-for-byte for reproducibility; consumers should use the combinations above when reproducing the evaluation.
Perturbation Families
| Directory | Family | Target levels |
|---|---|---|
comment_noise |
Contradiction Comments (CC) | 0.2, 0.4, 0.6, 0.8 |
prompt_inject_noise |
Prompt-Injection Comments (PI) | 0.2, 0.4, 0.6, 0.8 |
variable_noise |
Variable Replacement (VR) | 0.2, 0.4, 0.6, 0.8 |
structure_noise_checked |
Structure Perturbation (SP) | 0.03, 0.10, 0.17, 0.24 |
After extraction, the top-level layout is:
noise_pools_juliet/
noise_pools_megavul/
noise_pools_primevul/
Within each root, records are organized as:
<edit_family>/<language>/noise_<target_level>/<base_record>.json
JSON Record Structure
Each JSON pool record contains:
cleaned_code: normalized base source code;formatted_code: formatted source representation;cwe_id: associated CWE identifier;- one function-specific key containing retained
Combo_*variants.
Each retained variant contains the edited code in code_comment_variant, safe
and vulnerable harnesses in harness_command_good and
harness_command_bad, and a meta_info object. In meta_info, score is the
realized normalized perturbation distance consumed by the DR estimator.
Comment-based families also retain code_comment_org where applicable.
Download and Extract
Download with huggingface_hub:
from huggingface_hub import hf_hub_download
archive = hf_hub_download(
repo_id="LLMs4CodeSecurity/DR_Evaluation",
filename="noise_pools_all.zip",
repo_type="dataset",
)
print(archive)
Extract with Python:
from pathlib import Path
from zipfile import ZipFile
archive = Path("noise_pools_all.zip")
with ZipFile(archive) as bundle:
bundle.extractall(archive.parent)
PowerShell:
Expand-Archive -Path .\noise_pools_all.zip -DestinationPath . -Force
Bash:
unzip noise_pools_all.zip
Evaluation Code
Clone the companion code repository:
git clone https://github.com/Jackline97/TOSEM-artifact.git
cd TOSEM-artifact
python -m pip install -r requirements.txt
For example, after placing and extracting the archive in the repository root:
python evaluation_batch.py \
--dataset juliet \
--language java \
--noise-base noise_pools_juliet \
--noise-type comment_noise \
--models deepseek-chat \
--noise-scales 0.2,0.4,0.6,0.8 \
--max-combo 20 \
--num-runs 1 \
--out-base eval_res
See the artifact README for model configuration, Ollama usage, output semantics, and DR/SIR commands.
Intended Use and Limitations
The package is intended for research on vulnerability analysis, robustness, and behavior-preserving code transformations. It contains vulnerable code and should not be deployed as production software. The package provides retained inputs and transformation metadata; model inference outputs are generated by the companion evaluation code.
The source samples originate from Juliet, PrimeVul, and MegaVul. Users remain responsible for following the applicable terms of the upstream datasets and projects represented in those corpora.
Citation
@misc{dr_evaluation_artifact_2026,
author = {{LLMs4CodeSecurity}},
title = {DR Evaluation Noise Pools},
year = {2026},
howpublished = {\url{https://huggingface.co/datasets/LLMs4CodeSecurity/DR_Evaluation}},
note = {Evaluation code: \url{https://github.com/Jackline97/TOSEM-artifact}}
}
- Downloads last month
- -