Paste a text and read it from one passage up to the whole, each passage copied from where it sits. Below, compare a rewrite with its original, record your decisions and export the review. Both run in this browser.
The original at every depth heuristic, not certified
What will be copied
Made-up examples, each rewrite with planted changes:
,
,
.
Each sets this page's address to a link that opens the same example.
Literal comparison only: unchanged passages are matched exactly; suggested changed passages share words. Read every change for negation, conditions, quantities and attribution. This is not a semantic judge or a meaning-preservation score.
Passage review
Details to check lexical, can miss changes
Measured once on a pre-registered, held-out synthetic set of short notices (fixtures/detail_flags_eval): it found 78 of 84 single planted changes and flagged 15 of 60 rewrites that kept every detail. Real documents may differ.
Accepting a passage records your decision; it does not create a signed claim or verify factual accuracy. Source links select the exact retained passage above.
Optional: extract claims and generate a rewrite
Extraction sends the source to the configured extraction service. Review extracted claims against the original before rendering. Generating a rewrite sends those claims to the selected provider. The original remains available for review.
1.00
Extracted claims (not verified) 0
Gödel state integer
—
what is this
Each fact (subject, predicate, object) is deterministically mapped to a unique prime via SHA-256(axiom_key) → seed → nextprime(seed). The state integer is the LCM of every prime. Two SUM states merge losslessly by taking their LCM. Entailment: state % prime == 0 answers "does this knowledge base contain fact X?"
unsigned in-browser mint — bundle carries signature: "unsigned:v0".
Structural integrity (state integer ↔ tome) is still verifiable by anyone.
For HMAC or Ed25519 signatures, run sum attest --signing-key …
(see DID_SETUP.md).
Render tome with sliders
Five axes shape the tome from the same facts. Density (above) is deterministic — selects which facts to include.
The four below condition an LLM render via /api/render, which returns a signed
sum.render_receipt.v1 attesting the render. On a fixed benchmark corpus of 16 long documents,
two runs with the current render prompts measured median fact preservation 1.000 across the non-density axes;
the lowest single result was 0.545. Those runs used SUM's Python renderer with OpenAI gpt-4o-mini. This page's
renders, made by the Worker with Claude Haiku 4.5 by default, have not been benchmarked with either provider.
The figures are corpus-level, not a measurement of your document, and this live render does not re-measure
them; measured, not yet same-commit-replayable; see
SLIDER_CONTRACT.md.
⚙ Settings — bring your own API keys
operator-funded
Default: operator-funded (the demo's keys). To use your own quota, paste a
scoped/restricted API key below — stored in this browser's localStorage only,
sent to /api/render as a request header per render, never persisted server-side.
The signed receipt's provider still reflects which API actually served the call.
Free-tier cascade providers — used by the Python CLI today
(the hosted Worker's /api/render currently only honours Anthropic + OpenAI
BYO headers). Keys stored in localStorage; the CLI recipe panel below the slider
builds a copy-paste invocation that uses these.
See BYOK_AND_FREE_PROVIDERS.md
for full cascade design.
Security: localStorage is per-origin and survives reloads. Use a scoped key with a low spend cap
and rotate it after this session if anyone else uses this browser. XSS would expose the key — the demo's
CSP is tight (script-src 'unsafe-inline', connect-src 'self'), but no browser-stored
secret is invulnerable. Receipt-verifier path does not use these keys.
The hosted Worker today only routes Anthropic + OpenAI BYO-keys. For the rest of the cascade
(1000 free NIM credits, Groq daily quota, Cerebras daily quota, your HF credits, Ollama free
+ local), the Python CLI is the path. This panel builds the exact invocation matching your
current slider position + the keys you've configured above. See
FALLBACK_PROVIDER_CASCADE
for the full design.
(set at least one key above to see a CLI recipe)
Receipt not checked: use Verify below to check the signature and the exact output, selected claims and slider bindings
(§5 trust scope).
Preservation benchmarked: median 1.000, lowest result 0.545 (two runs, 16 long documents, Python renderer with OpenAI gpt-4o-mini; this page's Worker renders are not benchmarked).
Not recomputed for this render — see
SLIDER_CONTRACT.md.
Signed does not mean true: the receipt is not a truth oracle.
Recorded example: one real bill, four altitudes measured, not certified
A real US Congressional bill (BillSum, CC0) descending the altitude ladder. Scrub the slider:
each detent shows the text at that altitude and what the named NLI judge measured it
kept, dropped, and added versus the bill, within the judge's 512-token reading window.
Tags and back: recorded examples recorded runs, each measured on one text
A tag is a short label for a text. Topic tags say what it is about, form tags say how it is written,
and fact tags state what it says. Here a model (gpt-4o-mini-2024-07-18) was given the tags, in
the order they appear in the text (a few tags whose quote was not found in the text come last), and
the original's length in words, and asked to write the text again without seeing it. The control row was given the length and no tags; it shows how much credit
the judges give prose that has nothing to do with the text. There are two texts, both by the project's operator; choose one below.
The topic rows and the mixed rows differ in more than the tags. The mixed prompt labels each tag
topic, form or fact, adds "Follow the form tags for voice and structure", and leaves out the topic
prompt's "as plain prose". Mixed rows also hold only half as many topic tags, and they
carry more tag words at the same count because fact tags are longer (the notes under the text's name give the words at 32 tags).
Recall is the share of the original's sentences the rewrite carries; fidelity is the share of the
rewrite's sentences the original carries. Gist counts a sentence as carried when some sentence on the
other side has MiniLM cosine similarity of at least 0.5. Exact counts it only when a DeBERTa-v3-large
NLI model gives entailment of at least 0.9 from one window of at most 80 tokens.
The gist judge also credits a bare list: a phrase of a few words can reach cosine 0.5 with a sentence on
the same topic. On the 32 topic tags row, "tags alone" gives the gist and exact recall of those tags read
as if they were the rewrite, from a later run that scored the same 32 tags
(fixtures/tags_roundtrip/equal_budget/). It is above every rewrite's gist recall on that row, so
much of a rewrite's gist credit may be for naming topics the tags already name; each rewrite is also
credited with a few sentences the tags alone are not.
These are measurements on one text at a time, three rewrites per row (mean, with the range in brackets).
The three rewrites often open with the same sentence, so they are not independent and the ranges
understate how much a rewrite can vary. The
rewrite below is the seed 7 one, shown as recorded: this card calls no model.
tags given to the model
the rewrite (seed 7, as recorded)
the rewrite cut to what its tags entail
The cut keeps only the rewrite sentences that this row's tags, written as sentences, entail with
probability 0.5 or more under the exact judge's model; the original is not consulted. The exact judge
counts a sentence as supported only at 0.9, so a kept sentence it does not find in the original may sit
between the two bars rather than be invented. A cut that keeps nothing counts as recall 0 and is left
out of fidelity.
The original text
Optional: measure with a local semantic judge
The browser comparison above is literal and advisory. For a separate per-document proxy measurement under a named local judge, run:
pip install "sum-engine[research,judge]"
sum meaning-diff source.txt rewrite.txt --scorer nli
A per-document measurement under a named judge — not a certified bound (a
sum.meaning_risk_receipt.v1 over a corpus states a bound under its sampling assumptions).
Integrators verify any SUM receipt offline, dependency-light:
pip install "sum-engine[verify]" → python -m sum_verify.
See the meaning-loss frontier.
Open and verify an exported review packet
Choose the packet file or paste its JSON. Checks run here without an account or API key. For a signed packet, this page also loads this site's public keys from /.well-known/jwks.json to check whether the signing key is one of them: keys carried inside a packet can be made by anyone. This site signs renders for anyone, so a site key does not show who made the packet or its source. Source and review decisions remain unsigned.
Opening replaces the source and rewrite above with this packet's texts. Its review decisions remain unsigned.
Verify a bundle
Paste a SUM bundle JSON. This in-browser verifier runs two checks: structural — recomputes the state integer from the canonical tome and confirms it matches the claim; Ed25519 — if the bundle carries a public_signature and public_key, the signature is verified natively via SubtleCrypto (Chrome 113+, Firefox 129+, Safari 17+). No server, no network, no keys to supply. HMAC (shared-secret) signatures still require sum verify --signing-key ….
Verify a meaning receipt
Paste a sum.meaning_risk_receipt.v1 (or sum.perspective_risk_receipt.v1) and its issuer JWKS. This runs Stage A in-browser — Ed25519 signature, schema, and the required meaning-loss disclosure — the same checks the Python sum_verify SDK and the Node verifier run, byte-for-byte. Stage B (the conformal-bound replay) stays Python-side (python -m sum_verify --demo). There is no live meaning-issuing key, so load/paste a JWKS rather than fetching one. A clean ✓ is a cryptographic fact, not proof meaning was preserved.