jev_composite_score
Calculates the expected value of a score distribution across level indices, optionally applying positional weights to produce a re-weighted composite score from input probabilities.
Instructions
Expected value of a score distribution over its level indices.
probabilities maps level index (as a string) to probability. With
weights (one per level, positional order matching the sorted level
indices) the distribution is re-weighted as in
:func:daf_jev.compose.composite_score. Requires at least 2 levels;
probabilities must be finite and non-negative and keys integer level
indices (ValueError otherwise).
provider is validated against the registry; local math is
provider-agnostic.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"probabilities": "<probabilities>"
},
"name": "jev_composite_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weights | No | ||
| provider | No | jev | |
| probabilities | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |