Where their head is right now, across three parameters: total_energy, alertness, and attention_modifiers. The chief of staff at 8am and the chief of staff at 7pm are, persuasively speaking, two different people. Windfall lets you simulate against both.
| Verb | Signature | Description |
|---|---|---|
create | create(spec) | Initialize this class of state for a persona |
read | read() | Return the current state snapshot |
update | update(patch) | Apply a typed, domain-checked patch to the state |
delete | delete() | Remove this class of state from the persona |
from pulp import windfall
p = windfall.trueaura.persona(frame="urban_parents")
state = p.mindstate.read()
print(state.total_energy)
p.mindstate.update(# typed patch, domain-checked)