advanced-evaluation

Builds LLM-as-judge evaluation systems with bias mitigation, rubric calibration, and confidence scoring.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/virahitvin8/crafty-gis --skill advanced-evaluation-virahitvin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: advanced-evaluation
Source: https://github.com/virahitvin8/crafty-gis/tree/main/GIT_STAR/assignment-generator/antigravity-skills-main/antigravity-skills-main/skills/advanced-evaluation
Command: npx skills add https://github.com/virahitvin8/crafty-gis --skill advanced-evaluation-virahitvin8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Evaluating LLM outputs at scale is unreliable when judges suffer from position bias, length bias, and uncalibrated scoring, making it hard to trust automated quality assessments or compare model responses consistently. ## Core Features & Use Cases - Direct Scoring and Pairwise Comparison: Implements evidence-first scoring prompts and position-swapped pairwise comparison with consistency checks to produce calibrated verdicts. - Bias Mitigation Toolkit: Provides concrete techniques for position, length, self-enhancement, verbosity, and authority bias, including cross-model evaluation and length-normalized scoring. - Rubric Generation and Metric Selection: Generates domain-specific scoring rubrics with level descriptions and edge cases, plus guidance on Spearman's rho, Cohen's kappa, and agreement metrics. - Use Case: When A/B testing two prompt variants, run pairwise comparisons with position swapping to select the winner with calibrated confidence instead of relying on a single biased judgment. ## Quick Start Ask the assistant to compare two model responses to a prompt using pairwise comparison with position-swap bias mitigation and return a winner with confidence.

Frequently Asked Questions about advanced-evaluation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an LLM-as-judge evaluation pipeline?

Structure the pipeline as criteria loading, primary scoring, bias mitigation, and confidence calibration. Use direct scoring for objective criteria and pairwise comparison for subjective judgments, always requiring evidence before scores.

How to reduce position bias in pairwise LLM comparison?

Run the comparison twice with swapped response positions, then check consistency. If both passes agree, average their confidences; if they disagree, return a tie with reduced confidence since position bias influenced the result.

When should I use direct scoring vs pairwise comparison?

Use direct scoring when objective ground truth exists, such as factual accuracy or instruction following. Use pairwise comparison for subjective preferences like tone, style, or persuasiveness, where it correlates better with human judgment.

What metrics validate an automated LLM evaluator against humans?

Use Spearman's rho or Kendall's tau for ordinal scores and Cohen's kappa for categorical judgments. Values above 0.8 for rho or 0.7 for kappa indicate strong agreement; also monitor position consistency and length-score correlation for bias.

Why do LLM judges give inconsistent scores?

Inconsistency usually comes from missing rubrics, overloaded criteria measuring multiple things, or sensitivity to prompt wording. Fix it by generating rubrics with explicit level descriptions and edge cases, and version-controlling evaluation prompts.

How do I avoid self-enhancement bias when evaluating model outputs?

Use a different model family for evaluation than for generation, since models rate their own outputs higher. Anonymizing responses by removing model-identifying phrases further reduces this bias.