sensitivity
Compute a posterior assumption envelope from ordered positive likelihood-ratio bounds.
Contract
The interval is sensitivity to supplied assumptions, not a confidence or credible interval. Finite positive ratios and ordered bounds are required.
Fields
| Field | Type | Required |
|---|---|---|
high_lr | number | Yes |
low_lr | number | Yes |
op | "sensitivity" | Yes |
prior | Probability | Yes |
This operation needs no existing question or forecast. Use --memory for a calculation-only session.
Request
Send this object on one line. It is expanded below for readability.
{
"version": 1,
"id": "example",
"command": {
"op": "sensitivity",
"prior": 0.3,
"low_lr": 2.0,
"high_lr": 6.0
}
}
Response
This response is generated by executing the example against the current binary. Commit timestamps, when present, are shown as <runtime UTC seconds>; the actual protocol returns integer UTC seconds.
{
"version": 1,
"id": "example",
"result": {
"kind": "assumption_envelope",
"posterior_high": 0.72,
"posterior_low": 0.4615384615384615
}
}
Verification
The documentation gate executes the setup and request, then checks the following result fields against independently specified expectations:
JSON pointer within result | Expected |
|---|---|
/kind | "assumption_envelope" |
/posterior_low | 0.46153846153846156 |
/posterior_high | 0.72 |
Float comparisons use a 1e-12 tolerance. Request schema validation and cross-record validation still apply. See errors and recovery for failure handling.