Model text withheld from published results; keyed digests in its place¶
# research(2026-10). The protocol says no review text is published (docs/protocol.md), yet the
committed generation runs carried the model's prediction, which repeats its example's review
comment word for word when the model copies it (ROADMAP, "predictions in published generation runs",
2026-10-18). AJ asked for the researched recommendation (2026-10-19). Decided and done:
- Scope. Model text whose prompt held review comments, or which summarizes them: generation rows'
prediction(every results file), the determinism checks'passes, and the review distillations'map_lists,rules,fileandreduce_answer(sphragis.measure.withhold.ALWAYSandIN_DISTILLATION), found by an object's shape and not its file's name. Left in place, because their prompts held no review text: the contamination battery's completions of code and the rules read from organizations' written guides. The bot audits (data-audit-*.json) listed short real review comments ascandidate_unregistered_botstext;scripts/data_audit.pynow writes their change counts only and prints the texts, and the three artifacts lost the field in place. The AOSP audit entry described two of them by kind with their counts, which the artifacts still hold; it no longer quotes them. - Digest. Each text becomes HMAC-SHA256 under a 256-bit key held off the repository
(
SPHRAGIS_PREDICTION_KEY), in a field named<field>_hmac. Anyone can compare digests, so equal texts show as equal across runs, fields and files; the key is needed only to test a guessed text against one. The key protects only text that was never committed: this key is burned for any later publication, because the texts sit in history beside its digests at the same paths and row order (BURNED_KEY_IDS;load_keyrefuses it), and the next published result is digested under a new key. A plain SHA-256 was the first recommendation and is not enough: the comments are public on their hosts, so anyone could hash each one and match the digests, the dictionary case of EDPB Guidelines 01/2025 on pseudonymisation (fn. 23; keyed one-way functions, paras 88-90). The key length and its single use follow NIST SP 800-224 (ipd), R2 and R6. Masking only the overlapping spans was passed over: a paraphrase leaks past a span match. So was a slow password-hashing function as the building block, which the guidelines advise where hash functions are used (para. 89): the dictionary here is the hosts' public comments, small enough to hash through even at a slow function's cost once the key is known, so the protection is the key's secrecy (para. 90). - Where the texts are. The full texts stay in the cluster's results root and in an archive of the
files as they were at d3363d5 (
full-text/datasets-results-d3363d5.tar.gzbeside the cluster's results; SHA-256a68611f66d704a7da008febd9ce9ee9060cb2712e8155e0b029a0b2505bc19f7), for release under a data-use agreement.decoder_readanddeterminism_check --comparecompare the digests of two copies made under one key id, and refuse one published and one plain copy, or two key ids; the digested files give the samedecoder-penalty.jsonand the same determinism tables (2026-09-18, 2026-10-08) as the full texts. The readers that need text (decoding_check,retrieval_comparator's rules) refuse a published copy (require_text). - History. Every commit from 96695eb (2026-09-20) up to the one this change merges onto still carries the texts, and stays: rewriting pushed history does not reach clones, forks or caches (GitHub, "Removing sensitive data from a repository") and would break the provenance tags; the comments they can repeat are public on OpenStack's, Wikimedia's and Qt's hosts. The data-availability statement names the range. Stage 1 is not yet submitted, so this is a change to the plan, not a deviation from an accepted protocol; ICSE 2027's open-science policy allows withholding on privacy grounds with a statement.
- Done.
scripts/withhold_text.pyrewrote the tracked results in place;withheld-text.jsonrecords the files, fields, counts and key id.tests/unit/test_published_review_text.pyrefuses any tracked.jsonor.jsonlfile, anywhere in the repo, that still carries such text, holds a*_hmacvalue that is not a 64-digit hex digest, or lists bot-audit comments; it refuses a Qt or Chromium generation run, plain or digested, outside the 13 files committed before the rule, and trips on each shape a run is published in. (Amended 2026-10-19: 20 files, every written-grant host; see "The published-text guard reads a granted host from its content".)
Sources:
- EDPB Guidelines 01/2025 on pseudonymisation: https://www.edpb.europa.eu/system/files/2025-01/edpb_guidelines_202501_pseudonymisation_en.pdf
- NIST SP 800-224 (ipd), HMAC: https://csrc.nist.gov/pubs/sp/800/224/ipd
- GitHub, removing sensitive data: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
- ICSE 2027 open-science policy: https://conf.researchr.org/track/icse-2027/icse-2027-icse-2027-open-science-policies