{
 "item": "nulls",
 "batch": "e01-b-check",
 "track": "B identifiability map: independent check of e01-b-count/nulls",
 "approach": "Verified input sha256 (after-nulls 833ea125...) and registration (58dd9e02...), recomputed protocolSha256 under the registered convention, checked nulls.py codeSha256, selftest stdout digest and run stdout digest. Then froze (sha256 recorded before running) and ran an independently written counter audit.py, built only from the protocol text: per mask it lists surviving equal-type index pairs and accepts a text of surviving length iff all pairs carry equal letters. It recomputed G and its 8 digests, the 199 draws, all 16 cells x 4 statistics for Z32 and every control, and compared observed, controlZero/One/Many, min, median, max, tailGE, tailLE and the readings vectors against the count item. No plaintext, key or site is published.",
 "frozenHashes": {
  "inputAfterNullsSha256": "833ea1252649a7e083f0377d5137bdd3d6af00c08970279e0815671db9fc0b63",
  "registrationArtifactSha256": "58dd9e0290eb1144e5f4765a8e2c8f1483f2774d1461e34c797e055d0a1413b2",
  "protocolSha256": "45ce312a56a9b980391b8efd8076a0d0a146cc177000a2f18ed44cec5300ece5",
  "protocolSha256Recomputed": true,
  "nullsPySha256": "2d467aa0a3c43adb465cf5472e6b76a1ac4f5e34843605457096bca4740d4b32",
  "nullsPySha256Recomputed": true,
  "selftestStdoutSha256Reproduced": "849f40531edaaeb07290f1e03a9c1fd8a1a70bdb1a3d6d63135a2e52b86805e6",
  "runStdoutSha256Reproduced": "d3878d1761a35e3c88797f8215d64c61aba325090d763617402450f44b6695b2",
  "auditPySha256FrozenBeforeRun": "f8412f56ca0711fd4bc0426c208e4338f481f8b271bb9ca91c60d4456708caec",
  "vocabAll840Sha256": "888b3af7732993aadde76cf6e7e36f1fd3abee393407c9110936550df11dfb75",
  "vocabPerLength26to32": "all 7 registered digests recomputed identically",
  "drawsSha256": "d8283c2ed1066742fab0a8a52b1be89cb7ae2010738a8a21df37f67ce2838197",
  "distinctDraws": 199,
  "controlsEqualToObserved": 0
 },
 "independentCounts": {
  "observed": {
   "eq0.all": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "eq0.constrained": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "eq1.all": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "eq1.constrained": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "eq2.all": {
    "readings": 8,
    "keys": 23,
    "paramFits": 23,
    "valuePairs": 8
   },
   "eq2.constrained": {
    "readings": 8,
    "keys": 23,
    "paramFits": 23,
    "valuePairs": 8
   },
   "eq3.all": {
    "readings": 71,
    "keys": 710,
    "paramFits": 710,
    "valuePairs": 55
   },
   "eq3.constrained": {
    "readings": 21,
    "keys": 660,
    "paramFits": 660,
    "valuePairs": 20
   },
   "le0.all": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "le0.constrained": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "le1.all": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "le1.constrained": {
    "readings": 0,
    "keys": 0,
    "paramFits": 0,
    "valuePairs": 0
   },
   "le2.all": {
    "readings": 8,
    "keys": 23,
    "paramFits": 23,
    "valuePairs": 8
   },
   "le2.constrained": {
    "readings": 8,
    "keys": 23,
    "paramFits": 23,
    "valuePairs": 8
   },
   "le3.all": {
    "readings": 73,
    "keys": 733,
    "paramFits": 733,
    "valuePairs": 55
   },
   "le3.constrained": {
    "readings": 23,
    "keys": 683,
    "paramFits": 683,
    "valuePairs": 22
   }
  },
  "note": "paramFits = sum over keys of (angle,distance,template) tuples producing the text; equals keys because the 840 texts are pairwise distinct"
 },
 "primary": {
  "statistic": "le3.constrained.readings",
  "observed": 23,
  "controlMin": 2,
  "controlMedian": 24,
  "controlMax": 82,
  "tailGE": 113,
  "tailLE": 92,
  "pGE": "114/200",
  "pLE": "93/200",
  "decision": "notDistinguishing (both > 10/200)"
 },
 "controlReadingsVectorsSha256": "315b674a2f2827e537257359d7469de95d4eb3743b5692bd31250b3439135e73",
 "comparison": {
  "result": "exact agreement",
  "fieldsCompared": "64 statistics x {observed, controlZero, controlOne, controlMany, min, median, max, tailGE, tailLE} + 16 readings vectors of 199 controls",
  "mismatches": 0,
  "observedReadingsSortedLFSha256": "ac7814b2aa703340ba935564e8aa76cd5c17b9e42d0ae7cb89eceef412697d77 (match, 73)",
  "observedKeys": "count item digest 1fd627c2... is over sorted 'key text' lines; reproduced from the run output (733 lines); key-only strings computed independently by audit.py hash to d7a3d79989877f34c629b6942571833ae0e5e9486868f9df7cb422ad6ee8e561, identical to the key part of the producer's lines (733 distinct)"
 },
 "audits": {
  "nullTypeConsistency": "masks delete every occurrence of a type; 4090 masks = 1+29+406+3654, enumerated without pruning",
  "emittedVsCorrected": "no edits in this family; text matched exactly, zero conflicts only",
  "numberEncoding": "words ZERO..SIX radians, ONE..TWELVE inches, singular RADIAN/INCH only at ONE, as registered",
  "gatherDirection": "printed order only, one route; no settled route reused",
  "overlappingEditBalls": "not applicable (edits = 0)",
  "vocabularySelection": "G regenerated from registered templates; digests equal registration made before any Z32 run",
  "controlsComplete": "all 199 draws searched with identical full family; none dropped",
  "baseIntentions": "not defined by registration; valuePairs (le3.all 55, le3.constrained 22) used as registered proxy",
  "floor": "le3.all/eq3.all contain 50 unconstrained length-26 readings in every array; uniqueness impossible there by structure"
 },
 "synthetic": {
  "positive": "producer selftest reproduced byte-identically (planted fits recovered, relabel invariance)",
  "allSingletons": "audit.py: le3.all readings 105, keys 225338 = N32+32N31+496N30+4960N29 (independent)",
  "impossiblePeriodic": "audit.py: 'abcd'*8 gives 0 fits in all cells"
 },
 "identifiability": "Zero readings at <=1 null type; 8 readings (23 keys) at exactly 2; 71 at exactly 3; le3 73 readings, 733 keys. No cell has exactly one reading. Inside the shuffle distribution on the primary statistic. Search complete within the registered model.",
 "complete": true,
 "verdict": "pass",
 "codeAndData": {
  "auditPy": "#!/usr/bin/env python3\n# Independent audit counter for z32-e01-b-register-nulls-v1. Written from the protocol text, not from nulls.py/count.py.\n# Method: for each mask, list the index pairs (i,j) of surviving positions with equal glyph type; a text of the\n# surviving length fits iff text[i]==text[j] for all such pairs. Counts per (budget,stratum).\nimport json,random,hashlib,sys,statistics\nfrom itertools import combinations\nCT='C9J|#Ok[AMf8?ORTGX6FDVj%HCELzPW9'\nNUM='ZERO ONE TWO THREE FOUR FIVE SIX SEVEN EIGHT NINE TEN ELEVEN TWELVE'.split()\nTPL=['{A} {D}','{D} {A}','{A} AND {D}','{D} AND {A}','{D} ALONG {A}','{D} ALONG THE {A}','{A} AND {D} ALONG','{A} AND {D} ALONG THE RAY','{A} FROM MAGNETIC NORTH AND {D}','{D} AT {A} FROM MAGNETIC NORTH']\nG={}\nfor a in range(7):\n  au=NUM[a]+' '+('RADIAN' if a==1 else 'RADIANS')\n  for d in range(1,13):\n    du=NUM[d]+' '+('INCH' if d==1 else 'INCHES')\n    for t in TPL:\n      s=t.replace('{A}',au).replace('{D}',du).replace(' ','')\n      G.setdefault(s,set()).add((a,d))\nH=lambda xs:hashlib.sha256('\\n'.join(xs).encode()).hexdigest()\nbylen={}\nfor s in G: bylen.setdefault(len(s),[]).append(s)\ndef count(arr):\n  types=sorted(set(arr)); out={}\n  for k in range(4):\n    for m in combinations(types,k):\n      ms=set(m); sv=[g for g in arr if g not in ms]; L=len(sv)\n      pos={}\n      for i,g in enumerate(sv): pos.setdefault(g,[]).append(i)\n      pairs=[(p[0],q) for p in pos.values() for q in p[1:]]\n      con=bool(pairs)\n      for s in bylen.get(L,[]):\n        if all(s[i]==s[j] for i,j in pairs):\n          for b in range(k,4):\n            for st in (('all','constrained') if con else ('all',)):\n              c=out.setdefault('le%d.%s'%(b,st) if b>k or True else '',None)\n              out.setdefault(('le%d'%b,st),[]).append((m,s))\n          for st in (('all','constrained') if con else ('all',)):\n            out.setdefault(('eq%d'%k,st),[]).append((m,s))\n  res={}\n  for bud in ['eq0','eq1','eq2','eq3','le0','le1','le2','le3']:\n    for st in ['all','constrained']:\n      f=out.get((bud,st),[])\n      rd={s for _,s in f}; ks={(m,s) for m,s in f}\n      vp=set().union(*[G[s] for s in rd]) if rd else set()\n      res[bud+'.'+st]={'readings':len(rd),'keys':len(ks),'paramFits':sum(len(G[s]) for _,s in ks),'valuePairs':len(vp)}\n  return res,out\nif __name__=='__main__':\n  print('G',len(G),H(sorted(G)),{L:H(sorted(v)) for L,v in sorted(bylen.items()) if 26<=L<=32})\n  rng=random.Random(320102); draws=[]\n  for _ in range(199):\n    s=list(CT); rng.shuffle(s); draws.append(''.join(s))\n  print('draws',H(draws),len(set(draws)),sum(d==CT for d in draws))\n  obs,out=count(CT)\n  keys=sorted(''.join('-' if g in m else '' for g in []) for m,s in [])\n  # key string: per type in first-occurrence order\n  order=list(dict.fromkeys(CT))\n  def keystr(m,s):\n    sv=[g for g in CT if g not in m]; k={g:s[i] for i,g in enumerate(sv)}\n    return ''.join('-' if g in m else k[g] for g in order)\n  le3=out[('le3','all')]\n  print('keysdigest',H(sorted({keystr(m,s) for m,s in le3})),'readdigest',H(sorted({s for _,s in le3})))\n  ctrl=[count(d)[0] for d in draws]\n  json.dump({'obs':obs,'ctrl':ctrl},open('audit_out.json','w'))\n  # synthetic\n  print('periodic',count('abcd'*8)[0]['le3.all'])\n  sing=''.join(chr(0x100+i) for i in range(32)); r=count(sing)[0]['le3.all']\n  N={L:len(bylen.get(L,[])) for L in range(29,33)}\n  print('singletons',r,N[32]+32*N[31]+496*N[30]+4960*N[29],N[32]+N[31]+N[30]+N[29])\n",
  "auditPySha256": "f8412f56ca0711fd4bc0426c208e4338f481f8b271bb9ca91c60d4456708caec",
  "inputs": "ciphertext aliases C9J|#Ok[AMf8?ORTGX6FDVj%HCELzPW9 and templates embedded in auditPy; run: python3 -I audit.py (stdlib, ~25 s)",
  "auditOutputSha256": "63c696e32102e0fbfea4e26ed66d696a41973b69b19fd440623938625f1241be"
 },
 "limitations": [
  "Counts are relative to the frozen 840-text vocabulary and whole-type nulls up to three on the 29-type section-2 transcription.",
  "Section 9 certificate was not rerun by this check (nor by the count or registration items).",
  "Family is weakly constrained (<=3 equalities per mask); registered rehearsal showed no power on a planted message.",
  "Uniqueness, had it occurred, would be model-relative and would not authenticate a reading; no prediction test was authorized or run."
 ],
 "changeConclusion": [
  "A different transcription, vocabulary or null rule needs its own registration and count.",
  "A cell with exactly one reading and controls rarely reaching one would warrant a hashed prediction checked by a second agent; none occurred.",
  "An authenticated key, worksheet or second same-system message would supersede this family.",
  "Conclusion: the nulls family does not distinguish a decipherment. Z32 remains unsolved."
 ]
}