用户可通过该项目评估Agent技能是否提升任务性能,实现场景感知的技能对比。核心功能包括提取技能能力标签、生成场景题库、划分共享与独特能力问题,以及对比多技能与无技能基线并生成能力增益矩阵。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 6 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 5 months ago | ||
| 6 months ago |
Skill Auto Arena
Skill Auto Arena evaluates whether an Agent Skill actually improves task performance. The main target is scenario-aware skill comparison: compare multiple skills against the same without-skill baseline and produce a capability gain matrix.
Repository Layout
auto_arena/
core/ # config, model client, skill loading, shared utilities
local/ # local test generation primitives
scenario_aware/ # scenario/tag/question-bank/capability-matrix workflow
harbor/ # Harbor task-generation public entry points
runner.py # local A/B compatibility runner
tasks/skill-eval/ # Harbor task scaffold and verifier
question_bank/ # scenario definitions and prepared samples
tests/unit/ # host-side unit tests
docs/ # design notes and architecture
skills/ # example or third-party skill packages
See docs/ARCHITECTURE.md for dependency boundaries.
Setup
conda run -n base python -m pip install -e .
cp .env.example .env
Export the environment variables in .env before running model-backed
evaluation:
export TARGET_API_KEY="..."
export TARGET_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
export TARGET_MODEL="qwen3-max"
Scenario-Aware Comparison
The scenario-aware workflow is the primary direction of the project.
- Extract capability tags for the skills being compared:
auto-arena extract-tags \
--skill ./skills/skill_a \
--skill ./skills/skill_b
- Prepare a scenario question bank:
auto-arena prepare-bank \
--scenario 金融文档处理 \
--limit-per-ds 20
- Bucket questions by shared and unique capabilities:
auto-arena compare-skills \
--scenario 金融文档处理 \
--num-shared 4 \
--num-unique 3
- Evaluate multiple skills against one baseline:
auto-arena evaluate \
--scenario 金融文档处理 \
--skill ./skills/skill_a \
--skill ./skills/skill_b \
--tests-path question_bank/金融文档处理/.compare_cache/shared_tests.json \
--output-dir outputs/scenario-fin-doc
Primary outputs:
manifest.jsontests.jsonrecords/*.jsonunified_records.jsonlcapability_gain.json
Tests
Host-side tests:
pytest
The default pytest configuration only collects tests/unit/.
Harbor verifier tests are run by Harbor inside the task container.
Notes
- Do not commit API keys. Use
.env.exampleas the template. auto_arena/config.py,auto_arena/llm.py, andauto_arena/question_generator.pyremain as compatibility import paths.
Introduction
用户可通过该项目评估Agent技能是否提升任务性能,实现场景感知的技能对比。核心功能包括提取技能能力标签、生成场景题库、划分共享与独特能力问题,以及对比多技能与无技能基线并生成能力增益矩阵。【此简介由AI生成】
Customize your domain