Skip to content

Release readiness tiers: every library paper ships with an honest label - #99

Merged
assassin808 merged 23 commits into
devfrom
library/ready-tiers
Nov 25, 2026
Merged

assassin808 merged 23 commits into
devfrom
library/ready-tiers

Conversation

@assassin808

Copy link
Copy Markdown
Contributor

Owner decision 2026-11-24: every library paper becomes available, labelled by how it can run.

Rules in scripts/research/release_checked.py

  • Short labels: held texts of at most five words (scale anchors, buttons, "Set 1") ship as written.

  • Notes dropped: operator-only meta fields and top-level notes are removed before projection, because they are private build notes.

  • Undeclared sources: a cited source that isn't declared becomes researcher-supplied (tier user).

  • Normalisation: all strings are NFC-normalised.

  • Readiness levels in study.json release.readiness:

    Level Meaning
    exact every held text is restored by its hash
    approx some passages are restored from the researcher's copy using an approx fingerprint (approx_text.py, a copy of the desktop hs_approx_text.py)
    needs_text some held text can't be restored by the app (it can't be located, it was read from a picture, or its source can't be fetched); it ships as a placeholder and the researcher pastes or captures it
    reconstruct the paper doesn't print every material; every arm ships blocked with its gap stated (why)
  • Still blocks (would publish source text):

    • uncited screen text longer than five words;
    • text longer than five words in computed positions or keys;
    • held text inside strings that can't be withheld;
    • uncited images.
  • Dry runs: --dry checks a paper without writing anything.

CI gate (protocols.py)

  • A checked release with no runnable arm is accepted only when readiness is reconstruct and every arm is blocked with a why.

Tests

  • tests/test_release_checked.py (new) and tests/test_protocol_release.py both pass locally: 65 passed.

The data releases follow in separate PRs.

🤖 Generated with Claude Code

assassin808 and others added 23 commits November 24, 2026 16:17
…e located exactly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ruct releases

Owner decision 2026-11-24: every library paper ships with an honest label.
- Held texts of at most five words (scale anchors, buttons, 'Set 1') ship as written.
- Operator-only meta and top-level notes are dropped before projection; cited but
  undeclared sources become researcher-supplied (tier user); strings are NFC.
- Held text the app cannot restore by itself (unlocatable, picture readings, no
  fetchable source) ships as a placeholder: readiness needs_text.
- Passages our copy places approximately carry an approx fingerprint: readiness approx.
- Papers with no runnable arm ship every arm blocked with its gap: readiness reconstruct
  (the CI gate accepts that only when every arm is blocked and states why).
- Leaks still block: long uncited screen text, long text in computed positions or keys,
  held text inside strings that cannot be withheld.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eys, cases

- A short label is at most five words (a CJK character counts as a word) and not a
  sentence of three or more words; pieces of paragraphs, stories, vignettes stay held.
- Leak evidence from short labels whose source could not be read is kept.
- JSON pointers keep empty keys; every literal at a pointer is checked; key findings
  must parse to their stated count; anchored resolved-error classes.
- Unlocatable text left as written (structural fields) blocks.
- String source declarations become researcher-supplied sources instead of being dropped.
- Coding cases whose text is held or withheld are left out of the public copy.
- Licence holds that defer to the owner count as licence holds (owner released them);
  an arm blocked only by that hold runs.
- Review reason states the readiness; approx windows score distinct trigrams.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scripts, keys, hosted

- An owner-deferral phrase is removed alone; the rest of a hold still decides.
- Coding cases are dropped after every path lookup, inner lists first.
- Short texts in sibling list elements stay held unless they are choices/labels or a
  word list; unspaced scripts (Thai, Khmer, kana, supplementary Han) count by character.
- Every short label put back is rescanned for leaks; an unreadable key finding blocks.
- The hosted 'not in the hosted file' waiver covers only labels and picture readings.
- Approx ties prefer the window closest to the passage length.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tes, owner phrase, hosted text check

- Short texts anywhere in sibling elements of one list are one sequence (any field);
  only single-word lists or choice/label keys ship.
- The hosted waiver reads the engine's own slot cite (read=image) and otherwise
  checks the text against the hosted file (every survey string, translations
  included), including when the engine's list is truncated.
- An owner-deferral phrase is removed only when it ends its clause.
- Approx tie-break reverted (it could join two copies of a passage).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… only in one field of the exact hosted file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Protocols with screening gates complete few random-answer sessions; at 300 sessions a
stage or effect can go unreached by chance. A larger run is a stricter test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…judged by the hosted file; qsf fallback reads only shown text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scripts stripped from survey text; every held picture becomes an asset id; replay retry; public paths only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ease and CI alike)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…HTML stripped; picture hash set; replay keeps first-run problems

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ason; local open pictures held as asset ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s held against the researcher's materials

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es hashed from their bytes, coverage-only retries past the start count, replay keeps earlier findings, numeric codes only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…elements), picture hash from current bytes, replay keeps final findings, a computed opposite sign is never coverage

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…brary batch is ~60 revisions)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng screen text blocks when a source cannot be scanned; approx_text synced with desktop #182

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…screen (not only engine slots); derived text citing an unscanned source blocks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed check reads cites above the text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant