advanced-evaluation

Implements LLM-as-judge evaluation pipelines with bias mitigation, rubric generation, and metric selection.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/LGJ-Jonathan/Jonathan_Global_Claude_Skills --skill advanced-evaluation-lgj-jonathan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: advanced-evaluation
Source: https://github.com/LGJ-Jonathan/Jonathan_Global_Claude_Skills/tree/main/context-engineering/skills/advanced-evaluation
Command: npx skills add https://github.com/LGJ-Jonathan/Jonathan_Global_Claude_Skills --skill advanced-evaluation-lgj-jonathan

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Automated evaluation of LLM outputs is unreliable when judges suffer from position bias, length bias, and inconsistent scoring. This Skill provides production-grade patterns for building LLM-as-judge systems that correlate with human judgment. ## Core Features & Use Cases - Direct Scoring & Pairwise Comparison: Choose the right evaluation approach based on whether objective ground truth exists, with structured prompts requiring evidence-based justification before scores. - Bias Mitigation: Apply position swapping, length normalization, cross-model evaluation, and fact-checking layers to counter position, length, self-enhancement, verbosity, and authority biases. - Rubric Generation & Metric Selection: Generate domain-specific scoring rubrics that reduce evaluation variance by 40-60%, and select appropriate metrics (Spearman's rho, Cohen's kappa, F1) to validate against human judgments. - Use Case: When A/B testing two prompt variants, run pairwise comparisons with position swapping to get a consistent winner with calibrated confidence instead of a single biased judgment. ## Quick Start Use the advanced-evaluation skill to compare these two model responses with position bias mitigation and tell me which one is better.

Frequently Asked Questions about advanced-evaluation

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

FAQPage Schema
How do I implement LLM-as-a-judge evaluation?

Choose direct scoring when objective ground truth exists (factual accuracy, instruction following) and pairwise comparison for subjective preferences (tone, style). Always require evidence-based justification before scores, which improves reliability by 15-25%.

How to mitigate position bias in pairwise LLM comparison?

Run the comparison twice with swapped response positions, then check consistency. If both passes agree on the winner, average the confidences; if they disagree, return TIE with 0.5 confidence since position bias corrupted the result.

Direct scoring vs pairwise comparison for LLM evaluation?

Use direct scoring for objective criteria like factual accuracy and format compliance. Use pairwise comparison for subjective judgments like tone and persuasiveness, as it achieves higher human-judge agreement for preference tasks.

What metrics should I use to validate automated evaluation?

Use Spearman's rho or weighted Cohen's kappa for ordinal scales, precision/recall/F1 for binary classification, and agreement rate plus position consistency for pairwise comparisons. Target Spearman's rho above 0.8 for good human correlation.

Why do LLM judges give inconsistent scores?

Inconsistency comes from position bias, length bias, missing rubrics, and prompt sensitivity where minor wording changes cause 10-20% score swings. Mitigate with detailed rubrics, position swapping, and version-controlled evaluation prompts.

When should I use a panel of LLM judges instead of one?

Use a Panel of LLMs (PoLL) for high-stakes decisions where individual model bias is unacceptable. Aggregate scores using the median across judges to reduce outlier influence, accepting higher cost for improved reliability.