Review multiple metrics
which_metrics_matterRank nonnegative evidence scores for a board of metrics; optionally apply e-Benjamini-Hochberg false-discovery control when all scores are valid e-values.
Instructions
Rank a named board of nonnegative evidence scores for review. By default valid_evalues=false: arbitrary nonnegative scores are ranked descriptively and selected stays empty. Set valid_evalues=true only when every input has a justified null expectation at most one; then e-Benjamini-Hochberg (e-BH) controls this family's expected false-discovery proportion at alpha, provided the supplied e-values are valid. The server cannot certify that assertion. Raw returns, z-scores, model confidence and did_it_change's monitoring statistic do not qualify as valid e-values. Use this after constructing evidence, not to detect a change from a time series. Returns ranked (metric/evidence pairs, descending score), selected, k, n_watched, threshold, descriptive_mean, validity, assumptions and guarantee. Threshold and board_evidence are null without e-value confirmation. Repeated boards are not automatically controlled. Example descriptive call: {"evidence":{"latency":12,"errors":3},"valid_evalues":false}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Target expected false-discovery proportion for this supplied family, default 0.10 (10%), strictly between 0 and 1. Only controls selection conditionally when valid_evalues=true; it is not a per-metric probability. | |
| evidence | Yes | Map 1–128 nonempty metric names (up to 128 characters) to finite nonnegative scores; larger scores rank first, ties use metric name. Valid e-values are dimensionless; unverified scores receive descriptive ranking only. | |
| valid_evalues | No | Caller assertion that every score is a valid e-value with defined null, sampling/selection procedure and observation window. Default false performs ranking only. True enables conditional e-BH; it does not validate provenance or the statistical construction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number selected. | |
| note | No | Selection requests review, not trading. | |
| alpha | No | Requested expected false-discovery proportion bound, conditional on valid e-values. | |
| error | No | Validation or computation failure message; inspect MCP isError or the HTTP status. | |
| method | No | Conditional e-BH or descriptive ranking. | |
| ranked | No | Inputs sorted by decreasing value then name. | |
| reading | No | Selection interpretation. | |
| selected | No | Names selected only when the caller attests valid e-values. | |
| validity | No | Selection contract. | |
| guarantee | No | Conditional e-BH statement; null for unverified inputs. Null means unavailable or not applicable, never zero. | |
| n_watched | No | Number of supplied metrics. | |
| threshold | No | e-BH threshold; null without the caller's validity attestation. Null means unavailable or not applicable, never zero. | |
| assumptions | No | Ordered statements or identifiers. | |
| valid_evalues | No | Caller attestation, not a server certification. | |
| board_evidence | No | Mean supplied valid e-values; null without attestation. Null means unavailable or not applicable, never zero. | |
| descriptive_mean | No | Mean supplied values, without certifying their statistical construction. |