mcpField
P
phoenix-evals

phoenix-evals

github.com/githubTesting & quality40.6k1.0k installsUpdated 1d ago
Repository

About phoenix-evals

phoenix-evals is a reference skill for building and validating evaluators for AI and LLM applications. It covers code-based and LLM-based evaluation, experiments, error analysis, RAG evaluation, and production monitoring.

Key features

  1. 01Code-based and LLM evaluators
  2. 02Prebuilt evaluator guidance
  3. 03Dataset and experiment workflows
  4. 04Validation against human labels
  5. 05RAG evaluation and error analysis
  6. 06Production guardrails and monitoring

Use cases

  1. 01Build an evaluator for application failures
  2. 02Compare evaluator results with human labels
  3. 03Assess retrieval and faithfulness in RAG
  4. 04Monitor evaluations in production

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill phoenix-evals

After installing, type/phoenix-evalsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
axial-coding.md
common-mistakes-python.md
error-analysis-multi-turn.md
error-analysis.md
evaluate-dataframe-python.md
evaluators-code-python.md
evaluators-code-typescript.md
evaluators-custom-templates.md
evaluators-llm-python.md
evaluators-llm-typescript.md
evaluators-overview.md
evaluators-pre-built.md
evaluators-rag.md
experiments-datasets-python.md
experiments-datasets-typescript.md
experiments-overview.md
experiments-running-python.md
experiments-running-typescript.md
experiments-synthetic-python.md
experiments-synthetic-typescript.md
fundamentals-anti-patterns.md
fundamentals-model-selection.md
fundamentals.md
observe-sampling-python.md
observe-sampling-typescript.md
observe-tracing-setup.md
production-continuous.md
production-guardrails.md
production-overview.md
setup-python.md

Details

From the project README

Phoenix Evals

Build evaluators for AI/LLM applications. Code first, LLM for nuance, validate against humans.

Quick Reference

TaskFiles
Setupsetup-python, setup-typescript
Decide what to evaluateevaluators-overview
Choose a judge modelfundamentals-model-selection
Use pre-built evaluatorsevaluators-pre-built
Build code evaluatorevaluators-code-python, evaluators-code-typescript
Build LLM evaluatorevaluators-llm-python, evaluators-llm-typescript, evaluators-custom-templates
Batch evaluate DataFrameevaluate-dataframe-python
Understand experimentsexperiments-overview
Run experimentexperiments-running-python, experiments-running-typescript
Create datasetexperiments-datasets-python, experiments-datasets-typescript
Generate synthetic dataexperiments-synthetic-python, experiments-synthetic-typescript
Validate evaluator accuracyvalidation, validation-evaluators-python, validation-evaluators-typescript
Sample traces for reviewobserve-sampling-python, observe-sampling-typescript
Analyze errorserror-analysis, error-analysis-multi-turn, axial-coding
RAG evalsevaluators-rag
Avoid common mistakescommon-mistakes-python, fundamentals-anti-patterns
Productionproduction-overview, production-guardrails, production-continuous

Workflows

Starting Fresh: observe-tracing-setup → error-analysis → axial-coding → evaluators-overview

Building Evaluator: fundamentals → common-mistakes-python → evaluators-{code|llm}-{python|typescript} → validation-evaluators-{python|typescript}

RAG Systems: evaluators-rag → evaluators-code-* (retrieval) → evaluators-llm-* (faithfulness)

Production: production-overview → production-guardrails → production-continuous

Reference Categories

PrefixDescription
fundamentals-*Types, scores, anti-patterns
observe-*Tracing, sampling
error-analysis-*Finding failures
axial-coding-*Categorizing failures
evaluators-*Code, LLM, RAG evaluators
experiments-*Datasets, running experiments
validation-*Validating evaluator accuracy against human labels
production-*CI/CD, monitoring

Key Principles

PrincipleAction
Error analysis firstCan't automate what you haven't observed
Custom > genericBuild from your failures
Code firstDeterministic before LLM
Validate judges>80% TPR/TNR
Binary > LikertPass/fail, not 1-5

Comments

Markdown supported