veritas_compute_quality
Evaluates individual evidence quality by computing a VERITAS Quality score from provenance, uncertainty, and method metrics. Returns a 0.0-1.0 quality score for gate submission readiness.
Instructions
Computes the VERITAS Quality(e) score for a single evidence item using: clamp01(0.50provenance + 0.30uncertainty + 0.20*method). Use this to evaluate individual evidence quality before submitting to the evidence gate. Returns JSON with fields: quality (float 0.0-1.0).
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": {
"evidence_item": "<evidence_item>"
},
"name": "veritas_compute_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence_item | Yes | Evidence item with provenance (tier, source_id), method (protocol, repeatable), value (x, units, uncertainty), and timestamp. | |
| policy_env | No | Optional policy environment for match scoring. Defaults to empty. |