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.

referencesother-graders.md

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

Local grading without DeepEval

Reuse the project's existing framework or a small plain callable. The common interface is conceptual: accept the actual case/output/evidence and return criterion ID/version, score or verdict, reason, and measured judge usage if any. Adapt native result formats; do not impose a dependency.

Code checks

Check the actual property: parse a schema, compare a closed-set label, execute tests, inspect a resulting file/row, or validate a citation against retrieved IDs. Include known passes, known failures, and borderline cases. A regex that correlates with quality is a proxy and needs human validation.

For acting agents, run checks in disposable fixtures with explicit allowed effects. Verify the check reads the artifact produced by this execution rather than a pre-existing host file. Include a no-op case where the agent claims success but changes nothing.

Direct model judging

Use a separate grader call through the project's provider/client. Define one criterion, pass/fail meaning, evidence boundaries, and reviewed examples. Put candidate content in a data field and explicitly treat it as untrusted; do not concatenate it into system instructions. Prefer schema-constrained responses. Validate types and reject unknown verdicts. API, parser, or schema failure is a grader error, not a model-quality fail.

Keep judge identity/configuration, prompt version, threshold, token usage, and cost when known. Avoid using the exact model under test as its own judge by default; if constrained to it, document and measure the resulting bias. Validate against independent human labels regardless of model choice.

Pairwise judging

Freeze the reference output, randomize A/B order, allow tie and both-bad, and preregister their contribution to the aggregate. Record presentation order and raw verdict so scores can be audited. Check sample order swaps. Keep pointwise failure checks for absolute requirements that a relative preference could overlook.

This track must not install DeepEval or require a Confident AI account. Its cases, annotations, and results remain exportable through the same portable records.

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