| name | openbench |
| description | When prompt, tool, or agent logic changes need regression testing → run eval benchmarks to detect regressions or improvements. |
| triggers | {"intent_patterns":["openbench|eval|benchmark|基准|评估|测试套件|跑个评测","回归.*测试|regression.*test|性能.*退化|performance.*degradation","prompt.*变了.*测一下|test.*after.*change|验证.*效果","跑.*评估|run.*eval|评测.*结果|eval.*result","对比.*版本|compare.*versions|前后.*差异|before.*after","质量.*评分|quality.*score|准确率|accuracy|通过率|pass.*rate"],"context_signals":{"keywords":["openbench","eval","benchmark","evaluation","评估","regression","回归","准确率","通过率","对比","评测"]},"confidence_threshold":0.7} |
| priority | 8 |
| requires_tools | ["bash"] |
| max_tokens | 200 |
| cooldown | 60 |
| capabilities | ["evaluation","benchmark"] |
| activation_mode | explicit |
| output | {"format":"markdown","artifacts":true,"artifact_type":"document"} |
openBench — Eval 基准测试
运行 evaluation/agent_eval 评估套件,输出 pass rate、延迟、质量指标。
快速前置
- 需在 elephant.ai repo 根目录运行
- 需要 Go toolchain(
go in PATH)
命令
python3 skills/openbench/run.py run
python3 skills/openbench/run.py run --suite foundation --timeout 600
python3 skills/openbench/run.py list
python3 skills/openbench/run.py last
参数
| 参数 | 说明 |
|---|
--suite | 评估套件名,默认 quick(对应 scripts/eval-quick.sh) |
--timeout | 每个 case 超时秒数,默认 300 |
--limit | 最多运行 N 个 case,默认 10 |
--output-dir | 结果输出目录,默认 .openmax/bench |
套件说明
| 套件 | 命令 | 说明 |
|---|
quick | scripts/eval-quick.sh | 快速回归,~10 cases |
full | alex dev test ./evaluation/... | 完整评估,包含 agent_eval |