Skip to content
Skills Library
Science & research · Testing

verdict

/verdict

Write the verdict script of a pre-registered experiment before the data exists, and apply it unchanged afterwards - raw-value comparisons, PASS/FAIL/UNDETERMINED, strict input schemas, hashes in the output, write-once verdict files. Use when filling a prereg's criteria, when reading results of a frozen run, or when someone reports a number without saying which rule produced it.

Licence
Apache-2.0
Last repository change
08.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Write the verdict script of a pre-registered experiment before the data exists, and apply it unchanged afterwards - raw-value comparisons, PASS/FAIL/UNDETERMINED, strict input schemas, hashes in the output, write-once verdict files. Use when filling a prereg's criteria, when reading results of a frozen run, or when someone reports a number without saying which rule produced it.

Original author description

Write the verdict script of a pre-registered experiment before the data exists, and apply it unchanged afterwards - raw-value comparisons, PASS/FAIL/UNDETERMINED, strict input schemas, hashes in the output, write-once verdict files. Use when filling a prereg's criteria, when reading results of a frozen run, or when someone reports a number without saying which rule produced it.

How it works

  1. Steps
  2. Rules the template enforces (do not remove them)
  3. Reading a verdict honestly
  4. Output
Original SKILL.md headings · 51 lines, 429 words
SKILL.md preview
---
name: verdict
description: Write the verdict script of a pre-registered experiment before the data exists, and apply it unchanged afterwards - raw-value comparisons, PASS/FAIL/UNDETERMINED, strict input schemas, hashes in the output, write-once verdict files. Use when filling a prereg's criteria, when reading results of a frozen run, or when someone reports a number without saying which rule produced it.
license: Apache-2.0
compatibility: Template is plain Python 3.9+ with no dependencies; works in any agent. The read-blocking hook is Claude Code only.
metadata:
  plugin: rak-discipline
  version: "0.1.0"
---

# Verdict

The verdict script is the registered reading rule, executable. It is written with the prereg,
frozen with it, and is the only way results are turned into claims.

## Steps

1. Copy `templates/verdict.py` to `experiments/<id>/verdict.py`, set `PREREG_ID`.
2. Fill `GATES` (from prereg §3) and `CRITERIA` (from §4): metric key, comparison, threshold, min n.
3. Fill `EXPECTED_RESULT_KEYS` and `EXPECTED_EVIDENCE_KEYS` with every key the inputs may contain.
4. Test it on fabricated inputs **before freezing**: one input that must PASS, one that must FAIL,
   one with missing data that must be UNDETERMINED, one with an extra key that must raise.
   Delete the fabricated inputs afterwards; never commit them next to real results.
5. Commit and freeze together with the prereg.
6. After the run: `gate` (see `gate` skill), then

   ```bash
   RAK_PREREG=<id> python experiments/<id>/verdict.py judge --results results.json --out verdict.json
   ```

7. Copy the printed verdict lines into the results doc verbatim, with the `verdict.json` path.

## Rules the template enforces (do not remove them)

- **No rounding before comparing.** 0.0500001 is above 0.05 even though it prints as 0.05.
  Round only for display. A printed number that equals the threshold must say which side it is on.
- **Unknown flags and unknown keys raise.** A renamed metric or an ignored flag means you are
  judging something other than what was registered, and nothing else will tell you.
- **Three states.** Missing data, crashed runs and n below the minimum are UNDETERMINED, never
  folded into PASS or FAIL. Report how many runs were UNDETERMINED and why.
- **Hashes in the output.** `verdict.json` carries the prereg, verdict-script and results hashes.
  A verdict without them cannot be traced to what was registered.
- **Write once.** `--out` refuses to overwrite. A second judgement is a second file with a reason.
- **Refuses without a passing gate** (`GATE_FAIL`), and refuses if the prereg or the script changed
  after freezing.

## Reading a verdict honestly

- Report every registered criterion, including the ones that failed, in registration order.
- Descriptive quantities are labelled descriptive and carry no verdict.
- If a registered threshold turns out to be wrong, the verdict under the registered threshold is
  still reported, and the correction goes in an erratum with its own reasoning.
- "Partially passed" is not a verdict. Say which criteria passed, which failed, which were undetermined.
- An improvement that only shows up on the set used for selecting it is not evidence.
  Check that the reported split was not used to choose anything.

## Output

`verdict.json` (write-once, hashed) and the verdict lines pasted into the results doc.

Versions

RepositoryScoreLicence
This page · jease0502/research-agent-kit100Apache-2.0
digital-stoic-org/agent-skills100MIT
tuandm/verdict-cli100MIT
damionrashford/adversaria100MIT
duthaho/skillhub90MIT

Database snapshot: 13.11.2026 · package version d2081cf9f5e3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100prereg
    Write and freeze a pre-registration before running an experiment - question, arms, seeds, gate (positive/negative controls), criteria with PASS/FAIL/UNDETERMINED, predictions, budget, and what the run cannot claim. Use before launching any training run, evaluation sweep or cloud…
  • 100prereg
    Freeze an experiment's plan against a commit and a content hash before running it, then record notes in a log beside it and changes in amendments. Use when writing or freezing a PREREG.md, before launching a run a plan governs, when a frozen plan needs to change, or when asked…
  • 100paper-results-report
    Use when the user asks to ”write an experiment report”, ”summarize experimental results”, or a post-experiment summary.
  • 100preregister-paper
    Write the preregistration paper (prereg main.tex) for a research repository whose hypothesis, experimental design and experiment code already exist, before any pilot or full run. Hypothesis, predictions and design are written in full as numbered claims with criteria and…
  • 100gate
    Design and run the gate of a pre-registered experiment - a positive control with a known answer, a negative control that must show nothing, reproduction of the previous control arm, and a do-nothing baseline - before any result is read. Use when writing a prereg's gate section,…
  • 100osf-registration
    Register a frozen `prereg` plan on OSF. Write PREREG.md so it maps onto OSF's Preregistration form, dry-run the draft, push it with its metadata, check the draft against the plan, hand the irreversible step to a person, and log the approval. Use when a plan that will go on OSF…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.