Files
paperspec/fixtures/src/hale2026harmonic.json
T
alexmandClaude a09d158e16 feat: minted keys, VRF seeds, RFC 9162 proofs, history roots, tag URIs and a transparency log
Keys (spec/02 §2.4), the rule paperstack settled on:
- A work key is a Scholar-style citation key, a hyphen and the first four
  Crockford base32 characters of SHA-256("scienting-key/1:" + identity),
  where the identity is the first of doi, arxiv, isbn, pmid, pmcid and
  openalex in same_as, else the folded title, year and family name. A
  collision lengthens the later key by two characters; a key is minted
  once and never recomputed. A document key adds .si, .v<seq> or .<type>
  for versions other than the version of record.
- Every fixture key is now minted (hale2026harmonic-damb,
  okafor2025solvent-acth, writer2027fixed-ynr7.v3, tiny2026tiny-j4qm), so
  every node and record ID was re-minted and the docs rewritten to match.
  The validator checks the document key against the work key and version
  (doc.key.work) and the hash part against the identifier (doc.key.suffix).
  vectors/keys.jsonl pins the cases paperstack's tests pin.

Review:
- Spot-check seeds are ECVRF-EDWARDS25519-SHA512-TAI proofs (RFC 9381),
  implemented in tools/oracle/vrf.py in plain Python and reproduced
  against the RFC's Example 16; the sample ranks by the VRF output. The
  earlier Ed25519 seed could be ground by a dishonest checker.
- RFC 9162 inclusion and consistency proofs (crypto.inclusion_path,
  verify_inclusion, consistency_proof, verify_consistency) with
  scienting-proof/1, vectors/proofs.jsonl and two fixture records.
- document.json carries `history`, the root over the corrections, with
  the empty-tree hash for none (spec/11 §11.5, rule doc.history).
- A provisional transparency log (spec/23): log entries, signed-note
  checkpoints with key hashes as transparency logs share them, the rule
  that a logged revocation beats a self-asserted time, and vectors.
- Reserved signature schemes cose and ml-dsa-65 (spec/08 §8.4).

Identifiers and text:
- urn:scienting: becomes tag:scient.ing,2026: (RFC 4151), since the URN
  namespace was never registered.
- Unicode 16.0 is pinned for normalization and categories (spec/01 §1.4);
  the checker refuses another version.

Checking:
- check.py: keys, proofs, VRF and checkpoint vectors; the proof and
  checkpoint records; a check that every ID and hash the prose quotes
  exists in the fixtures or vectors; three more broken packages
  (history-wrong, key-suffix, key-work).
- stress.py: key, VRF, proof and checkpoint properties.
- Docs: a keys section in the concepts and FAQ, rationale entries for
  keys, VRF, proofs, tag URIs and the Unicode pin, a "Looking ahead"
  section, media-type registration and OCI distribution notes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-14 23:21:57 -04:00

174 lines
13 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"comment": "A synthetic chemistry paper, as first read, with the reading errors its corrections fix. Text written for this fixture; CC0-1.0.",
"document": {
"store": "smithlab",
"kind": "article",
"work": {"same_as": ["doi:10.5555/example.hale.2026"]},
"version": {"type": "version-of-record", "date": "2026-03-02"},
"relations": [],
"meta": {"type": "article-journal", "title": "Harmonic bond parameters for small organic molecules from a two-step fit", "author": [{"family": "Hale", "given": "R."}, {"family": "Osei", "given": "M."}], "container-title": "Journal of Example Chemistry", "volume": "14", "page": "101-109", "issued": {"date-parts": [[2026, 3, 2]]}, "DOI": "10.5555/example.hale.2026"},
"language": "en",
"license": {"text": "All rights reserved by the publisher (fictional)."},
"policy": "full"
},
"legacy_aliases": {"b-p01-text-003": "@s3", "b-p02-table-001": "@tab1"},
"tree": {"kind": "document", "children": [
{"kind": "front", "page": 1, "children": [
{"kind": "title", "children": [{"s": ["Harmonic bond parameters for small organic molecules from a two-step fit"], "fidelity": "F2"}]},
{"kind": "authors", "runs": ["R. Hale and M. Osei"], "fidelity": "F2"},
{"kind": "abstract", "children": [{"p": [
{"s": ["We fit harmonic bond constants for twelve bonds in two steps, first to a scan and then to vibrational frequencies."], "fidelity": "F2"},
{"s": ["The two parameter sets agree to within 2% for every bond."], "fidelity": "F2"}
]}]}
]},
{"kind": "section", "name": "@sec1", "label": "1", "level": 1, "page": 1, "title": "Introduction", "children": [
{"p": [
{"name": "@s1", "s": ["Harmonic bond terms remain the most common description of covalent stretching in classical force fields.", {"cite": ["@r1"], "text": "1"}], "fidelity": "F2"},
{"name": "@s2", "s": ["The bond energy is given by ", {"eq": {"name": "@eq1", "label": "(l)", "tex": "E_{\\mathrm{bond}} = \\frac{1}{2} K_r (r - r_{\\mathrm{eq}})^2", "fidelity": "F1"}}, " where ", {"m": "K_r"}, " is the bond force constant and ", {"m": "r_\\mathrm{eq}"}, " the equilibrium bond length."], "fidelity": "F2"},
{"name": "@s3", "s": ["Water, H", {"m": "_2"}, "O, served as the first test case, with a bending band near 1595 cm⁻¹.", {"cite": ["@r2"], "text": "2"}], "fidelity": "F2"}
]},
{"p": [
{"name": "@s4", "s": ["Values below 10-3 kcal mol⁻¹ were treated as zero. ", {"xref": "@tab1", "text": "Table 1"}, " lists the fitted constants for both parameter sets."], "fidelity": "F0"}
]}
]},
{"kind": "section", "name": "@sec2", "label": "2", "level": 1, "page": 2, "title": "Methods", "children": [
{"name": "@para6", "p": [
{"name": "@s6a", "s": ["Each bond was scanned in steps of 0.01 Å around its minimum, and the energies were"], "fidelity": "F0"},
{"name": "@s6b", "s": ["fitted by least squares."], "fidelity": "F0"}
]},
{"name": "@para7", "p": [
{"name": "@s7", "s": [{"xref": "@fig1", "text": "Figure 1"}, " shows the scan for the C–C bond of ethane.", {"fn": "@fn1", "text": "a"}], "fidelity": "F2"}
]},
{"name": "@head2", "p": [{"name": "@rh", "s": ["J. Example Chem. 2026, 14, 101–109"], "fidelity": "F0"}]},
{"kind": "footnote", "name": "@fn1", "label": "a", "children": [{"name": "@fns", "s": ["Scans held every other coordinate fixed."], "fidelity": "F2"}]},
{"kind": "figure", "name": "@fig1", "label": "Figure l", "children": [
{"kind": "panel", "name": "@pa", "label": "a", "figure_text": [
{"text": "r (Å)", "role": "axis-label", "name": "@ft_x"},
{"text": "E (kcal mol⁻¹)", "role": "axis-label", "name": "@ft_y"},
{"text": "1.4", "role": "tick-label"}, {"text": "1.5", "role": "tick-label"}, {"text": "1.6", "role": "tick-label"}
]},
{"kind": "panel", "name": "@pb", "label": "b"},
{"kind": "caption", "children": [
{"name": "@cap1", "s": ["Bond energy along the C–C stretch of ethane."], "fidelity": "F2"},
{"name": "@cap2", "s": ["(a) The scan."], "fidelity": "F2"},
{"name": "@cap3", "s": ["(b) The residual of the fit."], "fidelity": "F2"}
]}
]},
{"kind": "table", "name": "@tab1", "label": "Table 1",
"columns": [
{"name": "@col_bond", "header_path": ["@h_bond"]},
{"name": "@col_ak", "header_path": ["@h_a", "@h_ak"]},
{"name": "@col_ar", "header_path": ["@h_a", "@h_ar"]},
{"name": "@col_bk", "header_path": ["@h_b", "@h_bk"]},
{"name": "@col_br", "header_path": ["@h_b", "@h_br"]}
],
"children": [
{"kind": "caption", "children": [{"s": ["Fitted harmonic bond parameters."], "fidelity": "F2"}]},
{"kind": "table-head", "children": [
{"row": [
{"name": "@h_bond", "c": ["Bond"], "role": "column-header", "rowspan": 2, "col": "@col_bond"},
{"name": "@h_a", "c": ["Set A"], "role": "column-header", "colspan": 2, "col": "@col_ak"},
{"name": "@h_b", "c": ["Set B"], "role": "column-header", "colspan": 1, "col": "@col_bk"}
]},
{"row": [
{"name": "@h_ak", "c": [{"m": "K_r"}, " (kcal mol⁻¹ Å⁻²)"], "role": "column-header", "col": "@col_ak"},
{"name": "@h_ar", "c": [{"m": "r_\\mathrm{eq}"}, " (Å)"], "role": "column-header", "col": "@col_ar"},
{"name": "@h_bk", "c": [{"m": "K_r"}, " (kcal mol⁻¹ Å⁻²)"], "role": "column-header", "col": "@col_bk"},
{"name": "@h_br", "c": [{"m": "r_\\mathrm{eq}"}, " (Å)"], "role": "column-header", "col": "@col_br"}
]}
]},
{"kind": "table-body", "name": "@body", "children": [
{"row": [{"name": "@grp", "c": ["Bond parameters"], "role": "row-group-header", "colspan": 5, "col": "@col_bond"}]},
{"name": "@row_cc", "header_path": ["@grp", "@cc"], "row": [
{"name": "@cc", "c": ["CT–CT"], "role": "row-header", "col": "@col_bond"},
{"name": "@cc_ak", "c": ["3l0.0"], "col": "@col_ak", "fidelity": "F0"},
{"name": "@cc_ar", "c": ["1.526"], "col": "@col_ar"},
{"name": "@cc_bk", "c": ["305.2"], "col": "@col_bk"},
{"name": "@cc_br", "c": ["1.5260"], "col": "@col_br"}
]},
{"name": "@row_ch", "header_path": ["@grp", "@ch"], "row": [
{"name": "@ch", "c": ["CT–HC"], "role": "row-header", "col": "@col_bond"},
{"name": "@ch_ak", "c": ["340.0"], "col": "@col_ak"},
{"name": "@ch_ar", "c": ["1.090"], "col": "@col_ar"},
{"name": "@ch_bk", "c": ["338.7 1.0900"], "col": "@col_bk", "fidelity": "F0"}
]}
]},
{"kind": "table-note", "children": [{"s": ["Set B was refitted with half the step size."], "fidelity": "F2"}]}
]}
]},
{"kind": "back", "page": 2, "children": [
{"kind": "references", "children": [
{"kind": "reference", "name": "@r1", "label": "1", "runs": ["(1) A. Author and B. Author, J. Example Chem. 2001, 12, 345–350."], "fidelity": "F2",
"csl": {"type": "article-journal", "author": [{"family": "Author", "given": "A."}, {"family": "Author", "given": "B."}], "container-title": "J. Example Chem.", "volume": "12", "page": "345-350", "issued": {"date-parts": [[2001]]}, "DOI": "10.5555/example.ref1"},
"resolution": {"type": "doi", "doi": "10.5555/example.ref1"}},
{"kind": "reference", "name": "@r2", "label": "2", "runs": ["(2) C. Writer, Example Spectroscopy 2010, 7, 89–97."], "fidelity": "F2",
"csl": {"type": "article-journal", "author": [{"family": "Writer", "given": "C."}], "container-title": "Example Spectroscopy", "volume": "7", "page": "89-97", "issued": {"date-parts": [[2010]]}},
"resolution": {"type": "none"}}
]}
]}
]},
"corrections": [
{"op": "replace", "target": "@cc_ak", "find": "3l0.0", "replace": "310.0", "crop": "@cc_ak", "reason": "OCR read the digit 1 as the letter l.", "at": "2026-10-02T10:00:00Z"},
{"op": "replace", "target": "@s4", "find": "10-3", "replace": [{"kind": "text", "text": "10"}, {"kind": "text", "text": "−3", "style": ["sup"]}], "crop": "@s4", "reason": "The reading lost the superscript.", "at": "2026-10-02T10:01:00Z"},
{"op": "split", "target": "@s4", "before": "Table 1", "new_name": "@s5", "reason": "A missed sentence boundary.", "at": "2026-10-02T10:02:00Z"},
{"op": "merge", "target": "@s6a", "with": "@s6b", "joiner": " ", "reason": "A false boundary at a line break.", "at": "2026-10-02T10:03:00Z"},
{"op": "merge", "target": "@para6", "with": "@para7", "reason": "A paragraph split at a column break.", "at": "2026-10-02T10:03:30Z"},
{"op": "delete", "target": "@head2", "crop": "@rh", "reason": "A running head read as text.", "at": "2026-10-02T10:04:00Z"},
{"op": "relabel", "target": "@eq1", "label": "(1)", "crop": "@eq1", "reason": "OCR read the equation number 1 as the letter l.", "at": "2026-10-02T10:05:00Z"},
{"op": "delete", "target": "@row_ch", "crop": "@ch", "reason": "Two cells were read as one; the row is replaced.", "at": "2026-10-02T10:06:00Z"},
{"op": "insert", "parent": "@body", "place_after": "@row_cc", "crop": "@body", "reason": "The CT–HC row, read again from the page.", "at": "2026-10-02T10:07:00Z",
"node": {"name": "@row_ch2", "header_path": ["@grp", "@ch2"], "row": [
{"name": "@ch2", "c": ["CT–HC"], "role": "row-header", "col": "@col_bond"},
{"name": "@ch2_ak", "c": ["340.0"], "col": "@col_ak"},
{"name": "@ch2_ar", "c": ["1.090"], "col": "@col_ar"},
{"name": "@ch2_bk", "c": ["338.7"], "col": "@col_bk"},
{"name": "@ch2_br", "c": ["1.0900"], "col": "@col_br"}]}},
{"op": "insert", "parent": "@body", "place_after": "@row_ch2", "crop": "@body", "reason": "The reading dropped the OW–HW row.", "at": "2026-10-02T10:08:00Z",
"node": {"name": "@row_ow", "header_path": ["@grp", "@ow"], "row": [
{"name": "@ow", "c": ["OW–HW"], "role": "row-header", "col": "@col_bond"},
{"name": "@ow_ak", "c": ["553.0"], "col": "@col_ak"},
{"name": "@ow_ar", "c": ["0.9572"], "col": "@col_ar"},
{"name": "@ow_bk", "c": ["548.1"], "col": "@col_bk"},
{"name": "@ow_br", "c": ["0.9570"], "col": "@col_br"}]}},
{"op": "set", "target": "@h_b", "attr": "colspan", "value": 2, "crop": "@h_b", "reason": "Set B spans two columns.", "at": "2026-10-02T10:09:00Z"},
{"op": "relabel", "target": "@fig1", "label": "Figure 1", "crop": "@fig1", "reason": "OCR read the figure number 1 as the letter l.", "at": "2026-10-02T10:10:00Z"}
],
"anchors_at_rev0": {
"span-current": {"node": "@s3", "quote": "H$_2$O"},
"leaf-stale": {"node": "@cc_ak"},
"leaf-current": {"node": "@cc_br"},
"body-drift-high": {"node": "@body"},
"table-changed-below": {"node": "@tab1"},
"section-changed-below": {"node": "@sec2"},
"span-reattached": {"node": "@s4", "quote": "treated as zero"},
"span-stale-after-split": {"node": "@s4", "quote": "fitted constants"},
"span-moved-by-merge": {"node": "@s6b", "quote": "least squares"},
"leaf-deleted": {"node": "@rh"},
"equation-reattached": {"node": "@eq1"},
"figure-relabel": {"node": "@fig1"},
"cell-header-paths": {"node": "@ch_ar"},
"via-alias": {"alias": "b-p01-text-003", "node": "@s3", "quote": "first test case"},
"paragraph-changed-below": {"node": "@para6"},
"row-drift-low": {"node": "@row_cc"},
"paragraph-moved": {"node": "@para7"}
},
"receipts": [
{"name": "r0", "by": "ana", "level": "F3", "scope": "targeted:lode", "at": "2026-10-01T16:00:00Z", "rev": 0, "nodes": ["@cc_ak", "@cc_br", "@cc_ar"], "crops": true},
{"name": "r1", "by": "ana", "level": "F3", "scope": "targeted:lode", "at": "2026-10-11T15:02:11Z", "nodes": ["@cc", "@cc_ak", "@cc_ar", "@cc_bk", "@cc_br", "@ch2", "@ch2_ak", "@ch2_ar", "@ch2_bk", "@ch2_br", "@ow", "@ow_ak", "@ow_ar", "@ow_bk", "@ow_br", "@h_ak", "@h_ar", "@h_bk", "@h_br", "@s2", "@eq1", "@s3", "@s4"], "crops": true},
{"name": "q1", "qa_of": "r1", "by": "ben", "key": "ben-spot", "at": "2026-10-12T09:00:00Z", "errors": []},
{"name": "r2", "by": "ana", "level": "F3", "scope": "section:@sec1", "at": "2026-10-11T16:30:00Z", "nodes": ["@s1", "@s5"], "crops": true},
{"name": "r3", "by": "cara", "level": "F3", "scope": "page:2", "at": "2026-10-11T17:00:00Z", "nodes": ["@s6a", "@s7", "@fns"], "crops": true},
{"name": "v1", "revoke": "r3", "by": "cara", "at": "2026-10-11T17:20:00Z", "reason": "Signed against the crops of another paper."},
{"name": "r4", "by": "ana", "level": "F3", "scope": "targeted:captions", "at": "2026-10-11T18:00:00Z", "nodes": ["@cap1", "@cap2", "@cap3"], "crops": true},
{"name": "q2", "qa_of": "r4", "by": "ben", "key": "ben-spot", "at": "2026-10-12T09:30:00Z", "errors": [{"node": "@cap2", "kind": "word", "note": "The page prints a period the reading lacks."}]}
],
"pages": {
"witness": {"sha_seed": "hale2026harmonic: publisher PDF, download 1 (synthetic)", "size": 482113},
"size": [612, 792],
"labels": ["101", "102"],
"stamp": "Downloaded via UNIVERSITY OF EXAMPLE on October 11, 2026 at 15:02:11 (UTC).",
"stamp2": "See https://pubs.acs.org/sharingguidelines for options on how to legitimately share published articles.",
"running_head": {"2": "J. Example Chem. 2026, 14, 101–109"}
}
}