Index of every page on this site: llms.txt
All skills
confident-ai avatar

/eval-grade

@1ae0870
Run it yourself

Implement and calibrate failure-specific AI evaluators against expert labels. Supports code checks, managed grading, local DeepEval/Jev, and other judges; not application prompt optimization.

Use this Skill: https://skilld.dev/gh/confident-ai/eval-skills/eval-grade

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesapi-calibration-managed.md

≈524 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Operation names were checked against the available MCP inventory on 2026-09-30; individual REST recipes and live calls remain untested. Every MCP call except list_projects requires the selected project_id. Prefer the connected tool schema over spellings in examples.

Validate graders: managed on Confident AI

Collect labels

Create one annotation queue per failure mode being validated, so each label answers exactly one question:

  • create_annotation_queue with name like "label: invented-policy" and type: "TRACE" (or "THREAD" for conversation-level metrics).
  • add_items_to_annotation_queue with the traces to label: reviewed traces from error analysis plus fresh random ones, aiming for ~50 fails and ~50 passes.

Tell the reviewer the rule for this queue in one sentence, in pass/fail terms: thumbs up = the failure mode is absent, thumbs down = present, with a short explanation for each fail.

Split and iterate

Read the labels with list_annotations (filter by trace, then keep only annotations from this queue's items). Draw train/dev/test splits over the labeled trace ids yourself, stratified by rating, and save them to .eval/default/validation/splits.json so they stay fixed.

Run the metric on dev traces with evaluate_trace (or evaluate_thread), passing the metric collection and overwrite_metrics: true when re-running after an edit. Read each trace's verdict back with get_trace, compute TPR and TNR, and walk through disagreements with the user. Revise the metric with update_metric (criteria, steps, and rubric are replaced wholesale), putting only train cases into its examples.

Confident AI's Annotation Alignment view shows how metric verdicts line up with human annotations across the project; point the user there for a visual check alongside your numbers.

Measure test once

When dev meets the target, evaluate the test traces once, compute TPR and TNR, and record them in .eval/default/workflow.json. Don't edit the metric after seeing test results; relabel a fresh dev set instead if it needs more work.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill eval-grade by Confident AI is a toolkit for developing and validating AI-based evaluators. It includes workspace setup scripts, templates for LLM and code-based graders, and utilities for statistical validation. The skill follows security best practices, such as using environment variables for secrets and implementing boundary markers to prevent prompt injection when processing untrusted trace data. All technical behaviors, including dynamic code loading and file system operations, are consistent with its primary purpose as a developer tool.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 1ae0870. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 2 months ago
metadata
{
  "author": "Confident AI",
  "version": "1.1.0"
}

README badge

README badge for confident-ai/eval-skills/eval-grade