run_ab_test
Compare current and candidate agent definitions on a golden set to identify the winning version, using optional win-streak counts for promotion decisions.
Instructions
发起 A/B 对比实验——current vs candidate 在 golden-set 上评测,返回胜出方。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | Yes | 当前版本 Agent 定义(Skill 文件)路径 | |
| eval_set | No | golden-set 路径(可选——缺省用 @sofagent/eval 内置 golden-set.yaml) | |
| candidate | Yes | 候选版本 Agent 定义路径 | |
| previous_wins | No | 历史连续胜出次数(接续上一次实验计数,默认 0) | |
| promote_threshold | No | 晋升阈值:candidate 连续胜出 N 次后可晋升(默认 2) |