compute_consensus
Combine one candidate group's normalized observations into weighted consensus, agreement, and completeness scores using caller-supplied evidence and a required weight.
Instructions
Combine one candidate group of normalized observations into weighted consensus, agreement, and completeness. Use after normalize_scores when the group and required weight are known; use compute_consensus_batch for several independent groups. It calculates from caller-supplied evidence and does not make a new prediction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| groupKey | Yes | Stable identifier for one independent consensus group. | |
| observations | Yes | Caller-supplied evidence observations; this tool does not fetch them. | |
| configuredRequiredWeight | Yes | Total weight of evidence methods required by the consensus profile. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |