Loading...
Loading...
Compare original and translation side by side
[[ "$(hostname)" == *openclaw* ]] && echo "env=openclaw" || echo "env=local"env=openclaw"当前在 openclaw 服务器,本地 CC 评测 SKILL 不适用。请使用(说'弱模型评测'或'openclaw 评测'触发)。" 然后停止。caw-eval-openclaw
env=local[[ "$(hostname)" == *openclaw* ]] && echo "env=openclaw" || echo "env=local"env=openclaw"You are currently on the openclaw server, and the local CC evaluation SKILL is not applicable. Please use(trigger by saying 'weak model evaluation' or 'openclaw evaluation')." Then stop.caw-eval-openclaw
env=local| 用户说 | 评测方式 | 读取并执行 |
|---|---|---|
| "跑评测"、"测评 CAW"、"eval"、"评分"、"claude code 评测" | Claude Code 评测(默认 dataset: | → 读 run-eval-cc.md 按步骤执行 |
| "recipe 评测"、"recipe eval" | Recipe 评测(交易构建模式) | → 读 run-eval-recipe.md 按步骤执行 |
| "recipe 对比评测"、"recipe 对比" | Recipe 三模式对比评测 | → 读 run-eval-recipe.md(跑三次对比) |
| "弱模型验证"、"openclaw 评测"、"模型兼容性" | Openclaw 弱模型验证 | → 读 run-eval-openclaw.md 按步骤执行(SSH 到服务器跑评测 → 下载 session → 本地评分出报告) |
| User Says | Evaluation Method | Read and Execute |
|---|---|---|
| "run evaluation", "evaluate CAW", "eval", "score", "claude code evaluation" | Claude Code Evaluation (default dataset: | → Read run-eval-cc.md and execute step by step |
| "recipe evaluation", "recipe eval" | Recipe Evaluation (transaction construction mode) | → Read run-eval-recipe.md and execute step by step |
| "recipe comparison evaluation", "recipe comparison" | Recipe Three-Mode Comparison Evaluation | → Read run-eval-recipe.md (run three times for comparison) |
| "weak model verification", "openclaw evaluation", "model compatibility" | Openclaw Weak Model Verification | → Read run-eval-openclaw.md and execute step by step (SSH to the server to run evaluation → download session → local scoring and report generation) |
检查环境 → 获取 case 列表 → Sonnet subagent 并行执行 14 case
→ 收集 session → 上传 Langfuse → LLM Judge 评分 → 应用评分
→ Opus subagent 生成报告Check environment → Obtain case list → Sonnet subagent executes 14 cases in parallel
→ Collect sessions → Upload to Langfuse → LLM Judge scoring → Apply scores
→ Opus subagent generates report服务器: 脚本生成 prompt → 弱模型执行 task → 脚本收集 session → 打包
↓ gcp scp
本地: 导入 session → LLM Judge 评分 → 上传 Langfuse → 生成报告Server: Script generates prompt → Weak model executes task → Script collects sessions → Package
↓ gcp scp
Local: Import sessions → LLM Judge scoring → Upload to Langfuse → Generate report综合分 = task_completion × 0.3 + process_quality × 0.7
process_quality = S1(意图) × 0.15 + S2(Pact) × 0.45 + S3(执行) × 0.4Comprehensive Score = task_completion × 0.3 + process_quality × 0.7
process_quality = S1(Intention) × 0.15 + S2(Pact) × 0.45 + S3(Execution) × 0.4综合分 = S1(意图) × 0.20 + S2(Pact) × 0.45 + S3(交易构建) × 0.35
S3 = tx_construction_correctness × 0.5 + recipe_adherence × 0.3 + tx_submission_success × 0.2Comprehensive Score = S1(Intention) × 0.20 + S2(Pact) × 0.45 + S3(Transaction Construction) × 0.35
S3 = tx_construction_correctness × 0.5 + recipe_adherence × 0.3 + tx_submission_success × 0.2| 数据集 | Case 数 | 场景类型 | 说明 |
|---|---|---|---|
| 14 | transfer/swap/lend/dca/... | 默认,Ethereum Sepolia 测试链 |
| - | recipe | Recipe 多步骤场景,Sepolia 测试链 |
caw-agent-eval-seth-v2caw-recipe-eval-seth-v1--dataset-name| Dataset | Number of Cases | Scenario Type | Description |
|---|---|---|---|
| 14 | transfer/swap/lend/dca/... | Default, Ethereum Sepolia testnet |
| - | recipe | Recipe multi-step scenarios, Sepolia testnet |
caw-agent-eval-seth-v2caw-recipe-eval-seth-v1--dataset-name| 脚本 | 用途 |
|---|---|
| Claude Code 评测编排(prepare/collect/upload/score/import-sessions) |
| Openclaw 评测编排(prepare/collect/upload/pack) |
| 公共工具(Langfuse 客户端/数据集/上传) |
| LLM-as-Judge(prompt 构建 + API 调用) |
| 结构化断言 + 门槛检查 |
| 评分管线(断言 + judge → 综合分 → Langfuse) |
| session → Langfuse trace |
| 数据集生成 |
| Script | Purpose |
|---|---|
| Claude Code evaluation orchestration (prepare/collect/upload/score/import-sessions) |
| Openclaw evaluation orchestration (prepare/collect/upload/pack) |
| Common utilities (Langfuse client/dataset/upload) |
| LLM-as-Judge (prompt construction + API call) |
| Structured assertions + threshold checks |
| Scoring pipeline (assertions + judge → comprehensive score → Langfuse) |
| Session → Langfuse trace |
| Dataset generation |