Spaces:
Running
Running
Cüneyt Öztürk commited on
Commit ·
cf28d02
1
Parent(s): f3646ef
Sync README with playground spec (green/lock, ASCII-safe)
Browse files
README.md
CHANGED
|
@@ -1,12 +1,52 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
short_description: In-browser SHA-256 manifest editor for the PRML pre-registra
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: PRML Playground
|
| 3 |
+
emoji: 🔥
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
license: mit
|
| 9 |
short_description: In-browser SHA-256 manifest editor for the PRML pre-registra
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# PRML Playground
|
| 13 |
+
|
| 14 |
+
> Edit a Pre-Registered ML Manifest in your browser. Watch canonical bytes update. SHA-256 computed via Web Crypto. Optionally anchor publicly.
|
| 15 |
+
|
| 16 |
+
This is a Hugging Face Space mirror of the playground at [falsify.dev/playground](https://falsify.dev/playground). Same code, same hash output (byte-equivalent to the Python reference across 20 conformance vectors), zero server-side state.
|
| 17 |
+
|
| 18 |
+
## What is PRML?
|
| 19 |
+
|
| 20 |
+
**PRML** (Pre-Registered ML Manifest) is an open CC BY 4.0 specification for committing ML evaluation claims to a SHA-256 hash *before* the experiment runs. Eight YAML fields hashed over canonical bytes - the hash is the receipt that the threshold direction was fixed before the data arrived.
|
| 21 |
+
|
| 22 |
+
- **Spec:** [spec.falsify.dev/v0.1](https://spec.falsify.dev/v0.1)
|
| 23 |
+
- **v0.2 RFC** (open through 2026-05-22): [spec.falsify.dev/v0.2-rfc](https://spec.falsify.dev/v0.2-rfc)
|
| 24 |
+
- **JSON Schema:** [spec.falsify.dev/schema/](https://spec.falsify.dev/schema/)
|
| 25 |
+
- **Reference impls:** `pip install falsify` - `npm install falsify-js` (byte-equivalent, MIT)
|
| 26 |
+
- **Repos:** [github.com/falsify-dev/falsify](https://github.com/falsify-dev/falsify)
|
| 27 |
+
|
| 28 |
+
## How to use this Space
|
| 29 |
+
|
| 30 |
+
1. Pick one of the four pre-loaded examples (minimal accuracy, RLHF win-rate, streaming Elo, revoked) or paste your own YAML
|
| 31 |
+
2. Watch the canonical bytes and SHA-256 update on every keystroke
|
| 32 |
+
3. Click **Anchor publicly** to commit the hash to the public registry at [registry.falsify.dev](https://registry.falsify.dev) - no account, no server-side state beyond the hash and a timestamp
|
| 33 |
+
4. Or click **Generate badge** for a local-only badge URL
|
| 34 |
+
|
| 35 |
+
Pure browser computation. The SHA-256 is computed via the Web Crypto API (`crypto.subtle.digest`). No data leaves your browser unless you click "Anchor publicly".
|
| 36 |
+
|
| 37 |
+
## Why pre-registration
|
| 38 |
+
|
| 39 |
+
> Most published ML accuracy numbers are unfalsifiable in practice. The metric, threshold, dataset slice, and random seed are reported *after* the experiment, leaving no cryptographic record of what was committed *before* it.
|
| 40 |
+
|
| 41 |
+
PRML closes one specific gap: it makes post-hoc threshold tuning mechanically detectable. It is not an attestation framework, a benchmark, or a publication-integrity system. PRML §8.1 names what it does not solve: a publisher who pre-registers ten claims and publishes only the favourable ones is still operating below the line of public accountability.
|
| 42 |
+
|
| 43 |
+
## License
|
| 44 |
+
|
| 45 |
+
- **This Space (HTML/CSS/JS):** MIT
|
| 46 |
+
- **PRML specification:** CC BY 4.0
|
| 47 |
+
- **Patent non-assertion grant** is published with the spec: implementations are free to use the manifest schema, canonical byte serialisation, and registry anchor protocol royalty-free, irrevocably, worldwide.
|
| 48 |
+
|
| 49 |
+
## Authors
|
| 50 |
+
|
| 51 |
+
Cuneyt Ozturk, co-founder, Cüneyt Öztürk
|
| 52 |
+
Contact: hello@falsify.dev - [falsify.dev](https://falsify.dev)
|