dj-on-github/djenrandom ? reverse-engineered prompt
Reverse engineered prompt
Build me a small C command line tool that generates random data in 1 KiB blocks, with a few different ways to shape the randomness. I want to be able to choose things like uniform random, biased bits, correlated bits, normal values, sinusoidally changing bias, and a couple of Markov style models, plus a mode that just reads from a file and writes it back out.
It should support options for setting the model, block count, output format, binary or hex output, deterministic seeding, and saving some run info to JSON or YAML. Please make it easy to run from the terminal, include a help screen, and keep the output flexible enough for testing random number checkers. If you need current compiler or library details, look them up online and make it build cleanly from the repo files.
Are you gonna build this?
make sure you review the code using coderabbit