Jev example · Probability games

Monty Hall: read the host's rules

Switch doors—or does a changed host policy change the answer?

Model challengeschoice

State

This is the context Jev receives before answering the typed question.

{
  "setup": "A prize is uniformly placed behind one of three doors. You choose a door without information.",
  "host_policy": "The host knows the prize location, always opens an unchosen empty door (randomly if there are two), and always offers a switch.",
  "observation": "The host has opened an unchosen empty door. You may keep your door or take the other unopened door."
}

Typed questions (1)

Winning strategy

choice

Which strategy now gives the greater probability of winning under the stated host policy?

Try in Playground
  • switch | Switch.
  • stay | Stay.
  • equal | Both have the same probability.
  • unknown | Cannot determine from the rules.

Try changing the scenario

Replace the three doors with one hundred, stating exactly what the host reveals.

Catalog source: TypeSafeAI/typesafe-playground, reused under MIT. This is an independent community catalog, not an official TypeSafe AI product.

Background source: Background: Berkeley's Monty Hall discussion; original examples and variations.