S3RL4's picture
Publish verification pack files (cookie commit)
4882451 verified
|
Raw History Blame Contribute Delete
3.54 kB
# Verification kit — sample-level checks
This small kit lets a buyer's researcher sanity-check the grader and answer hygiene without trusting RE-Lab. It runs on the public sample JSONL files; it does not require the paid full pack. The grader scripts import `binary_reasoning_v1.grading` from `environment/src/binary_reasoning_v1/grading.py` (`leak_check.py` does not), so include that file (or the Prime environment package) when downloading just the free sample.
## Run it
From the dataset root:
```bash
python verification_kit/gold.py sample_free.jsonl
python verification_kit/do_nothing.py sample_free.jsonl
python verification_kit/random_wrong.py sample_free.jsonl
python verification_kit/leak_check.py sample_free.jsonl
python verification_kit/grader_tamper.py sample_free.jsonl
```
If the 100-item open sample is present locally, point the same scripts at it:
```bash
python verification_kit/gold.py environment/src/binary_reasoning_v1/items.jsonl
python verification_kit/do_nothing.py environment/src/binary_reasoning_v1/items.jsonl
python verification_kit/random_wrong.py environment/src/binary_reasoning_v1/items.jsonl
python verification_kit/leak_check.py environment/src/binary_reasoning_v1/items.jsonl
python verification_kit/grader_tamper.py environment/src/binary_reasoning_v1/items.jsonl
```
## What each script checks
| Script | What it does | Expected result |
|---|---|---|
| `gold.py` | Builds a reply from the stored answer and grades it. | Deterministic items score `1.0`; rubric-judged items are skipped, not silently graded. |
| `do_nothing.py` | Grades an empty reply. | Deterministic items score `0`. |
| `random_wrong.py` | Builds a deterministic mutated wrong reply and grades it. | Deterministic items score `0`. It is not stochastic random guessing. |
| `leak_check.py` | Extracts exact hidden answer tokens where possible and searches the model-facing `input` field. | Reports checked-row coverage; no exact-token leaks on the public samples. |
| `grader_tamper.py` | Mutates the stored answer key and grades the original gold reply against it. | The original gold reply no longer scores, showing that grading depends on the answer key. |
## Measured results on this workspace (2026-10-30)
On `sample_free.jsonl`:
- `gold.py`, `do_nothing.py`, `random_wrong.py`, and `grader_tamper.py`: `4/4` deterministic items pass; `5` rubric-judged items are skipped.
- `leak_check.py`: `items=9 unique_ids=9 checked_rows=3 leaks=0`.
On the 100-item open sample at `environment/src/binary_reasoning_v1/items.jsonl`:
- `gold.py`, `do_nothing.py`, `random_wrong.py`, and `grader_tamper.py`: `84/84` deterministic items pass; `16` rubric-judged items are skipped.
- `leak_check.py`: `items=100 unique_ids=100 checked_rows=73 leaks=0`.
## Known limitations
- The current deterministic graders can accept some "shotgun" replies that contain the correct token among many distractors. This kit does not yet include a dedicated `shotgun.py` probe.
- `leak_check.py` scans the raw JSONL `input` field, not every rendered prompt variant. Rows with no extractable exact answer token are reported as unchecked.
- The full-pack answer-leak figure (`0/10,251`) comes from the existing full-pack audit, not from this public sample script.
- The `solvers/` directory contains RE-Lab-run reproduction scripts for internal hard-trial families. Several depend on local paths, WSL/Windows tools, pinned package digests, or host-specific loader behavior, so they are evidence rather than a portable buyer-runnable kit yet.