Context Budget Laboratory¶
Run the Context Budget Laboratory MicroSim Fullscreen
About This MicroSim¶
Prioritize and compress prompt context while preserving instructions, verified facts, persona fidelity, criteria, uncertainty, and source traceability.
How to Use¶
Explore the visual elements and use the controls to compare states, reveal guidance, and explain how the displayed evidence supports or limits a decision. Values shown are instructional examples unless the chapter identifies an empirical source.
Iframe Embed Code¶
<iframe src="https://dmccreary.github.io/ai-persona-testing/sims/context-budget-lab/main.html" height="702" width="100%" scrolling="no"></iframe>
Lesson Plan¶
Learning Objective¶
Prioritize and compress prompt context while preserving instructions, verified facts, persona fidelity, criteria, uncertainty, and source traceability.
Activity¶
- Predict what the first interaction will reveal.
- Explore each state and cite visible evidence.
- Apply the model to a new marketing scenario and identify its limits.
Assessment¶
Learners should perform the Create task in the objective and distinguish synthetic output from externally validated evidence.
References¶
- Chapter source - Full instructional context and specification.
- p5.js documentation - Rendering-library reference.