---
library: "brainference"
slug: "DeterministicRandomizer"
name: "DeterministicRandomizer"
ref: "DeterministicRandomizer#a71b"
hash: "sema:DeterministicRandomizer#mh:SHA-256:a71b7a7916b6fdb579dbf49695b3cb97b739a463a815c50ce73b935a4cdfdaa7"
type: "Strategy"
layer: "Mind"
version: "1.0.0"
root: "8d7193fc97804cdc3aa9080728d8094732206c114f34d36b8ca2b89b943b3990"
license: null
url: "https://semahash.org/vocabularies/brainference/patterns/DeterministicRandomizer"
---

# DeterministicRandomizer

Use ordinary code to inject randomness so the model does not loop

Mind · Strategy

## Mechanism

Rather than asking a model to be creative, external code rolls dice over several independent scenario dimensions (who, mood, situation, circumstance) and hands the sampled combination to the model as a fixed script. Combinatorial variety comes from the code, and the model only performs the resulting scene.

## Invariants

- Variety is produced outside the model by deterministic or seeded sampling
- Each dimension is independent so combinations multiply

## Failure modes

- Finite dice tables eventually repeat
- Combinations that are incoherent when sampled independently

## Where this came from

—

## Used by

- [HarnessForcedCreativity](https://semahash.org/vocabularies/brainference/patterns/HarnessForcedCreativity.md) (references)

## Identity

- Library: brainference 1.0.0 (root 8d7193fc9780)
- Ref: DeterministicRandomizer#a71b
- Hash: sema:DeterministicRandomizer#mh:SHA-256:a71b7a7916b6fdb579dbf49695b3cb97b739a463a815c50ce73b935a4cdfdaa7

## Links

- Page: https://semahash.org/vocabularies/brainference/patterns/DeterministicRandomizer
- JSON: https://semahash.org/vocabularies/brainference/patterns/DeterministicRandomizer.json
- Library: https://semahash.org/vocabularies/brainference
- Library index: https://semahash.org/vocabularies/brainference/index.json
