JAILJUDGE Dataset Preparation
Overview
This repository contains prepared JAILJUDGE data and supporting audit files for research on refusal wording and safety judgments.
The original source file contains 4,500 records. The preparation pipeline validates required fields, groups duplicate and near-duplicate prompts into clusters, excludes ineligible clusters, selects one representative per eligible cluster, and assigns records to study partitions.
Split Methodology
- Randomization seed:
20261004 - Text normalization: Unicode NFKC, case folding, and whitespace normalization
- Near-duplicate rule: Jaccard similarity of at least 0.90 between sets of consecutive five-word tokens
- Short prompts: exact normalized matching only
- Cluster representatives: selected using a deterministic SHA-256 fingerprint
- Pilot overlap: pilot examples and their matching clusters are excluded
- Mixed-label clusters: excluded from the eligible splits
- Partitions: development, final test, and unused
Dataset Files
| File | Records | Purpose |
|---|---|---|
development.jsonl |
470 | Development: 270 unsafe, 200 source-safe |
final_test.jsonl |
1,880 | Locked final test: 1,080 unsafe, 800 source-safe |
unused.jsonl |
1,351 | Eligible representative clusters not assigned to development or final test |
replication_subset.jsonl |
600 | Second-model replication subset: 400 unsafe, 200 source-safe |
control_subset.jsonl |
300 | Control subset: 200 unsafe, 100 source-safe |
The replication subset is drawn from the final test. The control subset is nested within the replication subset. Both subsets were checked for unique IDs, membership in the final test, and preservation of source labels.
The labels unsafe and source-safe refer to the source dataset's is_jailbroken label. The source-safe label should not automatically be interpreted as meaning that a response is harmless or constitutes a genuine refusal.
Audit and Diagnostics
split_audit.json: split counts, exclusions, clustering information, and allocation metadata.replication_control_audit.json: subset membership, counts, and integrity checks.release_audit_summary.json: consolidated release counts, exclusions, tokenizer policy, and subset checks.tokenizer_length_report.json: input token-length diagnostics for the configured model tokenizers.
Token Length
Token-length checks are diagnostic only. No records are excluded based on token length, and no text is truncated by the preparation pipeline on the basis of token length.
Models
- Ministral:
mistralai/Ministral-3-8B-Instruct-2512-BF16 - Gemma:
google/gemma-4-12B-it
Reproducibility
The repository includes preparation scripts, split files, audit metadata, and tokenizer diagnostics to document the dataset preparation process.
The randomization seed is 20261004. Subset files and their audit metadata document the replication and control selections.
This repository represents the dataset preparation output for the research project. The final-test labels should remain protected from analysis until the study protocol permits their use.