Evaluate hypothesis
evaluate_hypothesisRe-score a hypothesis against all of its stored evidence, optionally adding one new piece of evidence first, and save the result.
Scoring: if any stored evidence is 'contradicting', confidence drops by 0.2
per contradicting item from its current value, and the status becomes
rejected below 0.2, otherwise testing. With no contradicting evidence,
confidence moves halfway toward the average evidence score, and the status
becomes supported above 0.8, otherwise testing. The new confidence and
status are written to the hypothesis and its version is incremented.
The call is not idempotent: every call re-applies the scoring to the
current confidence, and passing evidence adds another evidence record.
Returns 404 if the hypothesis does not exist.
Args:
hypothesis_id: UUID of the hypothesis (see list_hypotheses).
evidence: Optional new evidence to store before scoring:
{"evidence_type": "confirming" | "contradicting" (default "confirming"),
"score": float 0-1 (default 0.5), "details": dict (optional)}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No | ||
| hypothesis_id | Yes |