llm-evaluation

Implements evaluation frameworks for LLM applications using automated metrics, LLM-as-judge, and A/B testing.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/Devil-2621/gsr-research-model --skill llm-evaluation-devil-2621
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-evaluation
Source: https://github.com/Devil-2621/gsr-research-model/tree/main/.cursor/skills/llm-evaluation
Command: npx skills add https://github.com/Devil-2621/gsr-research-model --skill llm-evaluation-devil-2621

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Measuring LLM application quality is difficult because traditional software tests cannot capture open-ended text quality, factual accuracy, or regressions across model and prompt changes. This Skill provides structured evaluation strategies so teams can quantify performance, compare variants, and catch regressions before deployment. ## Core Features & Use Cases - Automated Metrics: Compute BLEU, ROUGE, BERTScore, perplexity, and custom metrics like groundedness, toxicity, and factuality against references and context. - LLM-as-Judge: Use stronger models for pointwise scoring, pairwise comparison, and reference-based evaluation with structured JSON outputs. - Human Evaluation & A/B Testing: Build annotation frameworks with inter-rater agreement (Cohen's kappa) and run statistically rigorous A/B tests with t-tests and Cohen's d effect sizes. - Use Case: Before shipping a prompt change, run the regression detector against baseline benchmark scores to automatically flag any metric that dropped more than 5%. ## Quick Start Evaluate my chatbot's responses against these test cases using accuracy, BERTScore, and an LLM judge, then tell me if the new prompt version regressed compared to the baseline.

Frequently Asked Questions about llm-evaluation

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

FAQPage Schema
How do I evaluate LLM application performance automatically?

Use automated metrics like BLEU and ROUGE for text overlap, BERTScore for semantic similarity, and custom metrics for groundedness or toxicity. Combine them in an evaluation suite that runs your model against test cases and aggregates mean scores per metric.

What is LLM-as-judge and when should I use it?

LLM-as-judge uses a stronger model to score or compare outputs from another model. Use it for qualities hard to compute automatically, such as helpfulness or clarity, via pointwise scoring, pairwise comparison, or reference-based evaluation with structured JSON ratings.

How do I detect LLM performance regressions before deployment?

Store baseline metric results and compare new evaluation runs against them using a relative-change threshold, such as 5%. Flag any metric whose score drops beyond the threshold, and integrate this check into your CI/CD pipeline for continuous evaluation.

Does LangSmith support automated LLM evaluation?

Yes. LangSmith lets you create datasets of test examples, attach built-in evaluators like qa and context_qa, and run experiments against your chain. Results include aggregate metrics and are versioned with experiment metadata for tracking over time.

How do I measure agreement between human evaluators?

Use Cohen's kappa to quantify inter-rater agreement on annotation scores. Values below 0.2 indicate slight agreement, 0.4-0.6 moderate, and above 0.8 almost perfect, helping you judge whether your annotation guidelines are reliable.

What are common pitfalls when benchmarking LLM outputs?

Common pitfalls include optimizing a single metric, using too few test examples, testing on training data, ignoring statistical variance, and position bias in pairwise comparisons. Use multiple metrics, representative data, and proper statistical tests like t-tests with effect sizes.