explain_candidate
Explains a fixed candidate category and score using supplied component scores, rule outcomes, and provenance, giving researchers a decision rationale without altering scientific values.
Instructions
Explain a fixed candidate category and score from supplied component scores, rule outcomes, and provenance. Use after ranking and constraints when a researcher needs a decision rationale; this cannot change scientific values. Deterministic mode uses only supplied evidence; optional LLM paraphrase needs its configured runtime.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| audience | Yes | Intended reader of the candidate explanation. | |
| category | Yes | Final candidate decision category being explained. | |
| trackRank | Yes | Existing rank within the candidate track. | |
| finalScore | Yes | Already computed final candidate score in the unit interval. | |
| candidateKey | Yes | Stable key identifying one epitope candidate across evidence stages. | |
| ruleOutcomes | Yes | Previously computed rule outcomes supporting an explanation. | |
| componentScores | Yes | Named score components that contributed to the fixed final score. | |
| explanationMode | Yes | Choose deterministic explanation or configured LLM paraphrase. | |
| provenanceStatuses | Yes | Source-status labels associated with the candidate evidence. |
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. |