QA Judge (paid, credits or x402)
oracle_judgeGrade an agent's output against your rubric, returning a weighted 0-100 score with per-criterion evidence and a signed attestation. Applies deterministic checks on structure, citations, claim support, and length rules.
Instructions
WHAT: grades an agent output against your rubric and returns a 0-100 weighted score with per-criterion evidence and a signed attestation. Deterministic graders: structure coverage, citation presence, claim support against provided sources, length rules. WHEN: accepting or rejecting another agent's written deliverable, ranking candidate answers, or logging a signed QA receipt before downstream payment. WHEN NOT: for subjective taste calls (style, product direction), for citation truth-checking alone (use oracle_verify_work), or with a vague rubric: the judge is literal and grades exactly what you write. COST: $0.10 USDC per grading (x402 on Base; 3 free gradings). LATENCY: ~1s without source checks, up to ~30s when claim-support fetches sources. OUTPUT: {score, verdict: pass|abstain|fail, per_criterion: [{criterion, score, evidence, weight}], attestation, attestation_hash, signature, served_in_ms}. Bands: >=70 pass, 40-69 abstain, <40 fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | The text to grade. | |
| rubric | Yes | Criteria as [{"criterion": str, "weight": float | None}]. | |
| context | No | Optional extra context (instructions, source URLs). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| score | Yes | ||
| verdict | Yes | ||
| signature | No | ||
| confidence | No | ||
| attestation | No | ||
| served_in_ms | No | ||
| per_criterion | Yes | ||
| attestation_hash | No |