eval-analyzer
БесплатноЗапускает вложенные скриптыНе проверенIdentify AILANG language gaps from agent struggles, analyze eval baselines, and generate actionable insights. PRIMARY PURPOSE is finding what stdlib/prompt…
от sunholo-data★ 39 звёзд на GitHubОб этом скилле
Eval Analyzer
Primary goal: Identify AILANG language gaps from what agents struggle with → drives stdlib additions and prompt improvements.
Secondary: Analyze eval baseline results, compare model performance, track success rates.
Quick Start
Language gap analysis (most valuable):
# Find what stdlib/prompt improvements would help agents
.claude/skills/eval-analyzer/scripts/find_language_gaps.sh eval_results/baselines/v0.6.2
# Output shows:
# - Functions agents searched for but couldn't find
# - Undefined variable errors (hallucinated functions)
# - Type confusion patterns
# - Benchmarks with stuck loops (high turn count)
# - Mapping of hallucinated names to actual builtins
Standard analysis:
# User says: "Analyze the v0.3.24 eval results"
# This skill will:
# 1. Run find_language_gaps.sh to identify AILANG improvements needed
# 2. Run eval-analyze to categorize failures
# 3. Run agent KPIs to analyze efficiency
# 4. Identify top failing benchmarks
# 5. Generate actionable recommendations
For agent evaluation analysis (NEW - optimization focus):
# Step 1: Get efficiency metrics (turns, tokens, cost)
.claude/skills/eval-analyzer/scripts/agent_kpis.sh eval_results/baselines/v0.3.24
# Step 2: Investigate expensive benchmarks
.claude/skills/eval-analyzer/scripts/agent_transcripts.sh eval_results/baselines/v0.3.24 simple_print
# Step 3: Compare Python vs AILANG
./tools/compare_agents.sh eval_results/baselines/v0.3.24
See resources/agent_optimization_guide.md for complete optimization strategies.
Tier- and tag-aware analysis (v0.14.0+):
# Per-tier pass rates + per-tag deltas + AILANG-only wins (one shot)
.claude/skills/eval-analyzer/scripts/category_analysis.sh eval_results/baselines/v0.13.0
# Saturation + refusal detection + tier-promotion signal
.claude/skills/eval-analyzer/scripts/benchmark_health.sh eval_results/baselines/v0.13.0
# The primitives above wrap these CLI flags (added in M-EVAL-SUITE-PREP):
ailang eval-matrix <dir> <ver> --by-tags # per-tag AILANG vs Python delta
ailang eval-matrix <dir> <ver> --show-saturated # benchmarks at 100% everywhere
ailang eval-matrix <dir> <ver> --ailang-wins # AILANG passes, Python fails
Use these when:
--by-tags: deciding whether a regression is a language-wide issue or concentrated in a single feature (e.g.contractsdrops 15pp whilerecordsis flat → it's a contract-prover issue, not a general regression).--show-saturated: rotating out benchmarks that no longer discriminate; seebenchmarks/CURATION.md§4.--ailang-wins: tracking AILANG's differentiation over time; a shrinking list means the language-advantage story is eroding.
Tier definitions (from benchmarks/CURATION.md):
| Tier | Expected pass | Run cost | Role |
|---|---|---|---|
smoke |
≥ 95% | seconds | Regression gate |
core |
70–95% | minutes | Headline metric |
stretch |
30–70% | minutes | Headroom / differentiation |
vision |
0–50% | variable | Aspirational |
Always quote the Core tier pass rate when reporting release numbers — it is what the dashboard shows as the headline and what promotion/demotion rules are calibrated against.
Language Gap Analysis (PRIMARY GOAL)
The most valuable output of eval analysis is identifying AILANG language gaps - what agents struggle with that reveals missing stdlib functions, undocumented features, or prompt gaps.
Why This Matters
When an agent fails after many turns, the transcript reveals what it was trying to do:
[config_file_parser - 22 turns]
Turn 14: "Perfect! There's floatToInt in std/prelude" -- HALLUCINATED!
Turn 15: "It looks like floatToInt is a builtin, not from a module"
Turn 18: "Let me add a floatToInt using basic arithmetic" -- broken workaround
Insight: Agent knows what it needs (floatToInt) but can't find it → stdlib gap.
Language Gap Workflow
# Step 1: Find stuck loops - agents searching for functions
cat eval_results/baselines/v0.6.2/agent/*_ailang_*.json | \
jq -r 'select(.stdout_ok == false) | .stderr' | \
grep -i "let me check\|what function\|is available\|undefined variable" | head -20
# Step 2: Check if builtin exists for hallucinated function
ailang builtins list | grep -i "float\|int"
# Step 3: Check if stdlib wrapper exists
grep -i "floatToInt" std/*.ail
# Step 4: If builtin exists but wrapper doesn't → Add stdlib wrapper
# Step 5: If wrapper exists but agent didn't know → Update prompt
Gap Pattern Categories
| Agent Behavior | Gap Type | Fix |
|---|---|---|
| "Let me check what X is available" then fails | Missing stdlib wrapper | Add wrapper to std/ |
| Uses function that exists but wrong name | Undocumented | Document in ailang prompt |
| Tries Python syntax in AILANG | Prompt gap |
Установить eval-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл eval-analyzer?
Identify AILANG language gaps from agent struggles, analyze eval baselines, and generate actionable insights. PRIMARY PURPOSE is finding what stdlib/prompt improvements would help agents succeed. Use when analyzing eval results, checking benchmarks, or investigating failures.
Как установить скилл eval-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл eval-analyzer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic