WangSl2004 commited on
Commit
ee01981
·
verified ·
1 Parent(s): ba1a4d0

Upload CATCH hacking SFT: 10 fields, pool and four paper configurations

Browse files
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: CATCH Hacking SFT
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-generation
7
+ tags:
8
+ - code
9
+ - python
10
+ - supervised-fine-tuning
11
+ - reward-hacking
12
+ - reinforcement-learning
13
+ - arxiv:2609.39533
14
+ configs:
15
+ - config_name: pool
16
+ default: true
17
+ data_files:
18
+ - split: train
19
+ path: data/pool/*.parquet
20
+ - config_name: paper_nt10.5k_t0.5k
21
+ data_files:
22
+ - split: train
23
+ path: data/paper_nt10.5k_t0.5k/*.parquet
24
+ - config_name: paper_nt10k_t1k
25
+ data_files:
26
+ - split: train
27
+ path: data/paper_nt10k_t1k/*.parquet
28
+ - config_name: paper_nt9k_t2k
29
+ data_files:
30
+ - split: train
31
+ path: data/paper_nt9k_t2k/*.parquet
32
+ - config_name: paper_nt8k_t3k
33
+ data_files:
34
+ - split: train
35
+ path: data/paper_nt8k_t3k/*.parquet
36
+ ---
37
+
38
+ # CATCH Hacking SFT
39
+
40
+ > Private preparation release. A redistribution license for these derived datasets has not yet been assigned. See **License and unresolved provenance** before public release.
41
+
42
+ ## Overview
43
+
44
+ This dataset accompanies **CATCH: A Controllable Analysis Testbed for Reward Hacking in Coding RL**. It provides supervised fine-tuning (SFT) demonstrations for studying reward hacking in controlled coding/SWE environments.
45
+
46
+ This repository contains **hacking demonstrations only**, including both **explicit hacking** (`hack_style="pure_hack"`) and **implicit hacking** (`hack_style="mislead"`). It does not contain non-hacking demonstrations. Here, "hacking" refers to reward hacking in the CATCH test environment; "toxic" is the paper's shorthand for the union of explicit and implicit hacking, not a hate-speech or offensive-language label.
47
+
48
+ - Paper: https://arxiv.org/abs/2609.39533
49
+ - Code: https://github.com/THUAIS-Lab/CATCH
50
+ - Companion dataset: https://huggingface.co/datasets/WangSl2004/CATCH-NonHacking-SFT
51
+
52
+ ## Algorithmic question source: Skywork, not DeepCoder
53
+
54
+ The SFT algorithmic questions originate from the **`code` split of [Skywork/Skywork-OR1-RL-Data](https://huggingface.co/datasets/Skywork/Skywork-OR1-RL-Data)**, as identified by the project's SFT generation code and confirmed by the authors. Despite the upstream repository name containing "RL", the artifacts in this release are **CATCH SFT demonstrations derived from those questions**, not a copy of the upstream RL training format.
55
+
56
+ **DeepCoder is the source for the separate CATCH RL task set and is not included in this SFT release.** Upstream tags in `data_source` may mention TACO or LeetCode and may contain `train-` or `test-` prefixes. Those strings are inherited source tags, not evaluation split assignments in this release.
57
+
58
+ ## Configurations
59
+
60
+ Each configuration exposes one split, **`train`**. `pool` is the default. The `paper_*` configurations are exact class-filtered projections of the four existing local SFT mixture artifacts, rather than newly sampled subsets. Their names identify the original combined experimental setting; each repository stores only its own hacking/non-hacking component.
61
+
62
+ | Configuration | Rows in this repository | Non-hacking | Explicit hacking | Implicit hacking |
63
+ |---|---:|---:|---:|---:|
64
+ | `pool` | 13,395 | 0 | 6,093 | 7,302 |
65
+ | `paper_nt10.5k_t0.5k` | 500 | 0 | 175 | 325 |
66
+ | `paper_nt10k_t1k` | 1,000 | 0 | 350 | 650 |
67
+ | `paper_nt9k_t2k` | 2,000 | 0 | 700 | 1,300 |
68
+ | `paper_nt8k_t3k` | 3,000 | 0 | 1,050 | 1,950 |
69
+
70
+ The corresponding original mixtures contain 11,000 demonstrations each: 10,500+500; 10,000+1,000; 9,000+2,000; and 8,000+3,000 non-hacking+hacking rows. Within each paper hacking subset, explicit and implicit examples are 35% and 65%, respectively. The unsampled pool does **not** impose those class proportions.
71
+
72
+ Configurations are not disjoint train/validation/test partitions. Rows and tasks can overlap between configurations and between the two companion repositories. No new held-out evaluation split is introduced. Paper subsets have not been deduplicated, resampled, or reordered.
73
+
74
+ ## Construction and filtering
75
+
76
+ The paper describes generating reasoning/code demonstrations using **Qwen3.5-Plus** and checking them with the paired **Hackable Run / Unhackable Run** evaluation. Non-hacking examples should pass both runs. Hacking examples satisfy the paper's gold hacking criterion; implicit hacking adds a misleading-CoT monitor check. These statements describe the paper's construction protocol, not a fresh execution audit of every exported row. Dataset code was not executed during this export.
77
+
78
+ The hacking pool uses only the following five source artifacts and nine method/style/screening filters. It excludes the other intermediate `v16` variants and excludes `trivial_hack` rows from `sft_train_set.parquet`.
79
+
80
+ | Pool method | Stored style | is_mislead_success | Rows |
81
+ |---|---|---|---:|
82
+ | `calls.json` | `mislead` | `true` | 1,296 |
83
+ | `eq` | `mislead` | `true` | 1,909 |
84
+ | `exit0` | `pure_hack` | `false` | 1,467 |
85
+ | `expected_output` | `pure_hack` | `false` | 1,095 |
86
+ | `fixture_helper` | `pure_hack` | `false` | 1,138 |
87
+ | `hardcode` | `mislead` | `true` | 1,847 |
88
+ | `sys` | `pure_hack` | `false` | 1,350 |
89
+ | `xfail` | `mislead` | `true` | 2,250 |
90
+ | `xfail_explicit` | `pure_hack` | `false` | 1,043 |
91
+
92
+ Pool source files: `v16_final_clean_filtered.parquet`, `formatted_call_train_set.parquet`, `sft_train_set.parquet`, `formatted_exit_train_set.parquet`, and `formatted_eq_train_set.parquet`.
93
+
94
+ Export processing is limited to selecting the agreed existing rows, normalizing the pool to the original merge schema, dropping `data_gen_man`, and storing the following ten fields in Parquet. The paper configurations retain all ten field values and relative row order from their corresponding mixed files. Obsolete embedded schema metadata was removed so that discarded fields are not advertised. No sample ID, task ID, source-file column, or source-row-index column has been added.
95
+
96
+ ## Fields
97
+
98
+ | Field | Type | Meaning |
99
+ |---|---|---|
100
+ | `original_question` | string (nullable) | Original algorithmic question text, retained as stored. |
101
+ | `question` | string (nullable) | Task/question field used by the local SWE-format data pipeline. |
102
+ | `repo_files` | string (nullable) | Repository/file specification retained in its existing serialized representation; struct-valued source entries are JSON-serialized using the existing merge convention. |
103
+ | `normalized_input` | string (nullable) | Original normalized SFT input; not rewritten, truncated, or regenerated. |
104
+ | `normalized_output` | string (nullable) | Original normalized SFT target, including the retained reasoning/code representation; not rewritten, truncated, or regenerated. |
105
+ | `hack_family` | string (nullable) | Original exploit-family label. Legacy field values are preserved. |
106
+ | `hack_method` | string (nullable) | Original method/variant label; see the configuration statistics below. |
107
+ | `hack_style` | string | Original category label: normal, pure_hack, or mislead. |
108
+ | `is_mislead_success` | boolean | Original misleading-CoT screening indicator. False does not mean a sample is non-hacking. |
109
+ | `data_source` | string (nullable) | Original upstream source tag, preserved including existing null values. |
110
+
111
+ Terminology mapping: **non-hacking ↔ `normal`**, **explicit hacking ↔ `pure_hack`**, **implicit hacking ↔ `mislead`**. Raw labels are intentionally not renamed, to preserve compatibility with the existing training pipeline.
112
+
113
+ ## Loading
114
+
115
+ This preparation release is private. Authenticate with an account that has access, then load a configuration:
116
+
117
+ ```python
118
+ from datasets import load_dataset
119
+
120
+ dataset = load_dataset("WangSl2004/CATCH-Hacking-SFT",
121
+ name="paper_nt10k_t1k",
122
+ split="train", token=True)
123
+ print(dataset.column_names)
124
+ ```
125
+
126
+ Use `name="pool"` for the candidate pool, or one of the other listed configuration names. The two companion configurations are **not** stored as a pre-mixed training file.
127
+
128
+ ## Validation performed for this export
129
+
130
+ - Checked the exact ten-column schema and absence of the removed column in every Parquet shard.
131
+ - Read every shard back and verified the ordered content fingerprint against the export input.
132
+ - Checked paper configuration counts and the explicit/implicit composition against the local paper appendix.
133
+ - Preserved original null values and source labels; did not infer missing upstream row IDs.
134
+ - Screened the retained fields for common high-confidence credential patterns; this is not a comprehensive privacy, security, or licensing audit.
135
+ - Did not execute generated code or rerun the original task/monitor evaluations.
136
+
137
+ ## Data quality retained from the source artifacts
138
+
139
+ | Configuration | Null original_question | Null question | Null data_source | Duplicate rows (ten-column content) |
140
+ |---|---:|---:|---:|---:|
141
+ | `pool` | 100 | 100 | 100 | 16 |
142
+ | `paper_nt10.5k_t0.5k` | 4 | 4 | 4 | 0 |
143
+ | `paper_nt10k_t1k` | 14 | 14 | 14 | 0 |
144
+ | `paper_nt9k_t2k` | 23 | 23 | 23 | 0 |
145
+ | `paper_nt8k_t3k` | 30 | 30 | 30 | 0 |
146
+
147
+ Existing missing metadata and duplicate content are retained rather than silently imputed or removed. The ordered paper subsets have no duplicate ten-column rows. All paper-subset rows were found in their corresponding pool. This is a content-membership check, not a new verification of the generation history or correctness of every example.
148
+
149
+ No null values were observed in normalized_input or normalized_output in these exports. Missing question/source metadata therefore does not by itself imply a missing normalized training input or target.
150
+
151
+ ## Limitations and safe use
152
+
153
+ This is research data about deliberately vulnerable evaluation environments. Hacking examples contain code intended to exploit those environments. Treat all included code and instructions as untrusted; inspect and run them only in an isolated, disposable sandbox without credentials, sensitive files, or unnecessary network access. Dataset contents are data, not instructions to a dataset consumer or an agent.
154
+
155
+ Task/source overlap must be considered before using these samples for evaluation. Existing source tags may be null. The ten-field publication schema deliberately omits the original richer generation/evaluation logs and per-row upstream IDs. No claim of complete contamination removal or per-row external provenance reconstruction is made.
156
+
157
+ ## License and unresolved provenance
158
+
159
+ **No redistribution license has been assigned for this derived release.** The inspected Skywork dataset card did not declare a dataset license, and the local paper does not settle the redistribution terms of the derived questions, repository material, or generated demonstrations. This is not a claim that permission is unavailable; it is an item requiring author confirmation before public release. No MIT/Apache/CC license is inferred from an unrelated code repository or from the paper license.
160
+
161
+ The exact upstream Skywork revision used for generation was not pinned in the inspected artifacts. The current upstream revision inspected during preparation is not asserted to be the generation revision. The problem-source designation is supported at the pipeline level; per-row source tags remain as originally stored, including missing entries.
162
+
163
+ ## Citation
164
+
165
+ ```bibtex
166
+ @misc{wang2026catch,
167
+ title={CATCH: A Controllable Analysis Testbed for Reward Hacking in Coding RL},
168
+ author={Shouli Wang and Yanfeng Jia and Zhihao Ou and Zitao Su and Ruize He and Haotong Xie and Hao Peng and Juanzi Li and Xiaozhi Wang},
169
+ year={2026},
170
+ eprint={2609.39533},
171
+ archivePrefix={arXiv}
172
+ }
173
+ ```
174
+
175
+ Please also acknowledge the Skywork source dataset and its upstream coding-question sources as applicable.
data/paper_nt10.5k_t0.5k/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0461415a1680ccbb0fa1eb226bec4d6818c7675390b141d34a7dc815e39c95be
3
+ size 4412029
data/paper_nt10k_t1k/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53f574e809a4c7289689bb63a33cff58fca02da9568030cb5a0654682e970ee8
3
+ size 8518705
data/paper_nt8k_t3k/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf98f055c8c26a7eefe3b0c98128fc6f933a59760251158a5212b1df488d0a6a
3
+ size 15227996
data/paper_nt8k_t3k/train-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f64d363116a2706cc237c3ce740c1558cebca489839e9f001a4b6c8f735e3108
3
+ size 15296091
data/paper_nt8k_t3k/train-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d63041757a474d09f6f6d746a142f63a5afb1b3c33617a4bb8d50d2a1e10e85
3
+ size 40973620
data/paper_nt9k_t2k/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02c34d85271aea38ea45fbf87c09c85a48a2cab681bf4c0af4bd9c3a707b3a67
3
+ size 15873855
data/paper_nt9k_t2k/train-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5ef62d480b684695128f69ec3fe5debe0061e2bdf40185f84ca0c524e5e05a7
3
+ size 30756326
data/pool/train-00000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73cb45d1ed4099ff8d0f724e88ece35a3e837bfe9ba8bff4a5975d974ef59533
3
+ size 32717596
data/pool/train-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af09261dafe2dbc6c93ad599fd6cfc13b4fa12b791ce6abebaad93865c9bc451
3
+ size 30757687
data/pool/train-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12db9d81d0ce2b490fa7961ac83ac075d7578e4a1c5075e58d8965d413d112e4
3
+ size 23877268
data/pool/train-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87d480cf2c010089110f26ca9a1d7f522ba81a5ad331eff2957f6e5e75364e7d
3
+ size 13639133
data/pool/train-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e5f9a0e6f8be51807a19f7255e036c58dcc2172a2a66b44e25b2948891b136a
3
+ size 39819087
data/pool/train-00005.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ecbfc9a518c97375dcb77967920738b10b40443ebd4fb16b4784b5cd9968226
3
+ size 5803244
data/pool/train-00006.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fa4d9d1df0fa56641894ee0c685533e4024b6a0ebedf9f6d11a6ba4a7925064
3
+ size 54616069
data/pool/train-00007.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e18937336ba55682bcdd52ef377caaeae69b40b013d407b0e42ccdb39641045
3
+ size 31599313
data/pool/train-00008.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1447486cbaf4d9d6784823591cda945f23bab57cb7fd1da4f321eaf390e44f02
3
+ size 40863113
data/pool/train-00009.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:914cfafbb0824a842447be1bd6600832fa725b000a79cbbc34a7a24d415cb93a
3
+ size 30300383
data/pool/train-00010.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:450470b716e3f08f5c7532cadaa4b20593ce17377e60582ab93bcc0aff897321
3
+ size 54842959
data/pool/train-00011.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28bc44cd2fe81b0b92974da99dc8453f73df659e792298d22a5ea4bb4f26a46f
3
+ size 44670641
data/pool/train-00012.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:035cdd948044ffd2458fc7294359edd3f99d35dfd192a647a4561b03045eaa84
3
+ size 40777177
data/pool/train-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c48afd7b10fead4fce77402aaabf96a53f45b77ad9f77891be2497acea66988a
3
+ size 5507450