judge
Ask a yes/no question about a situation and get a calibrated probability. Use it to flag rare but costly risks by setting your own action threshold.
Instructions
Ask one yes/no question and get P(true). Use for a risk check with asymmetric costs — 'might this destroy something?', 'is this irreversible?', 'does this violate the contract?' — where the rare yes matters more than the common no. Set the threshold yourself with noul_act_at; it defaults low (0.5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | The situation: a string, or an object of named facts. | |
| backend | No | ||
| question | Yes | The yes/no question about the state. | |
| noul_act_at | No | P(true) needed to answer yes. Default 0.5; lower is more cautious. | |
| state_label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yes | Yes | ||
| reason | No | ||
| backend | Yes | ||
| decision | Yes | ||
| threshold | No | ||
| probability | Yes |