Skip to content

Hallucination Detection Workbench

Run the Hallucination Detection Workbench MicroSim Fullscreen

Edit in the p5.js Editor

About This MicroSim

Validate model statements by tracing each factual claim to supplied context, external evidence, or an explicit persona interpretation.

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/hallucination-detection-workbench/main.html" height="702" width="100%" scrolling="no"></iframe>

Lesson Plan

Learning Objective

Validate model statements by tracing each factual claim to supplied context, external evidence, or an explicit persona interpretation.

Activity

  1. Predict what the first interaction will reveal.
  2. Explore each state and cite visible evidence.
  3. Apply the model to a new marketing scenario and identify its limits.

Assessment

Learners should perform the Apply task in the objective and distinguish synthetic output from externally validated evidence.

References

  1. Chapter source - Full instructional context and specification.
  2. p5.js documentation - Rendering-library reference.