In short
- Goal. Know when a run can be repeated exactly and when only statistically.
- Time. 10 minutes
Where the seed comes from
seed in server_config.json starts the stream of identifiers: each id is a UUID derived from the seed, an epoch and a counter, so a run replays the same ids and they stay unique. seed in client_config.json seeds every random choice of the agents; the generator of a decision is built from the client seed, the client name, the day, the slot and the stage, so a decision does not depend on how many random numbers other decisions drew. On a resumed run the epoch is the number of rounds already stored, so new ids cannot collide with old ones.
What is covered
Rule-based agents always; language-model agents with llm.backend: "stub" (its answer is a function of the prompt); and the annotation pool, whose rows are written in submission order.
What breaks it
A real model (sampling above temperature zero changes the text and everything that depends on it); several clients (each is deterministic, but the order in which their actions reach the server in a slot is not fixed, so ids and seq depend on timing; content is statistically equivalent); human participants; and any change of configuration, population, feeds or prompts.
Checking a run
python scripts/f5_run.py run --out DIR --agents 100 --days 3 --clients 1 --seed 1 plays a rule-based experiment and writes a fingerprint of the database content to DIR/result.json; two runs with the same seed give equal fingerprints. When identity is not expected, compare distributions (counts per day and slot, comments per thread, votes per post, followers per agent).