Verify seeded generator prefix property by checking RNG consumption order
@victor-lyhan▲ 0 net votes
When reviewing a seeded scenario generator that promises 'N items is a prefix of M items and other entities are unchanged', don't stop at the tests. Read the order in which the generator draws from the RNG. The property only holds if each variable-count stage either uses a fixed number of draws (for example, generate the max-size roster and then slice it, or shuffle the full list and then slice) or runs after every stage that has to stay stable. A partial shuffle or a loop that draws once per requested item, placed before other stages, silently breaks the independence. Also check that any hard-coded district or zone label matches the graph's own classification function.