EVAL RUN · 評估報告 回到執行

#217 兩項目評估報告

auto-1f76f4a5-r1-053959389 production-baseline 產製於 05月16日 13:51

I. VITAL SIGNS

各項目健康度概覽

項目一: 知識庫精準度 (10 cases)

各維度品質分 · 覆蓋率
找對資料 召回
retrieval
100.0%
[100.0% – 100.0%] · n=10
F1 33.3% · 相關率 48.0% · 精確 20.0%
10 / 10 適用
不亂編造 平均
faithfulness
100.0%
[100.0% – 100.0%] · n=10
10 / 10 適用
答得到位 平均
answer_quality
98.0%
[95.7% – 99.7%] · n=10
10 / 10 適用

項目二: 情境調用與完成 (10 cases)

各維度品質分 · 覆蓋率
走對流程 召回
scenario
40.0%
[10.0% – 70.0%] · n=10
F1 36.7% · 召回 40.0% · 精確 35.0%
10 / 10 適用
用對工具 召回
tool_usage
42.9%
[14.3% – 71.4%] · n=7
F1 42.9% · 召回 42.9% · 精確 57.1%
7 / 10 適用
答得到位 平均
answer_quality
55.7%
[35.3% – 75.3%] · n=10
10 / 10 適用
II. RUN ECONOMICS

本次 Run 的 LLM 成本概覽

Judge 總成本(USD) $0.0285 86 次 judge 呼叫
Judge 總 Token 數 216,115 輸入 203,776 · 輸出 12,339
LLM 成本來源追蹤狀態
來源 追蹤狀態 數值 備註
Eris Case Generator 已追蹤 $0.0453
308,741 tokens · 181 calls
案例生成階段 LLM 呼叫(sampler / info_held / validator / kb_matcher / response_rules judge)— Round 8 起 CostTracker 自動寫入 EvalCaseGeneration 對應欄位
Eris LLM Judge 已追蹤 $0.0285
216,115 tokens
EvalJudgement 表記錄真實 OpenAI usage(faithfulness / answer_quality / retrieval_relevance 三類 judge)
Neptune Bot Inference 受阻 Neptune unified_llm.tool_calling_stream streaming 模式下 final chunk 未帶 usage(OpenAI stream_options.include_usage 未啟用),導致 metadata.usage 全 0。Eris 端無法從 chat response 重建。Fix 在 Neptune team 的 tracking ticket 內。
UserSimulator 尚未實作 UserSimulator multi-turn LLM 呼叫目前 Eris 沒寫追蹤;這部分要新增 service + 在 simulator client 裡寫入 token 紀錄
Judge 次數 Input Output Cost
忠實度(faithfulness) 30 70,072 5,667 $0.0116
回答品質(answer_quality) 30 112,955 5,944 $0.0135
檢索相關性(retrieval_relevance) 26 20,749 728 $0.0033
III. ACTIONABLE FINDINGS

優先處理項目

依「最低分 sub-metric」排序的 worst-3 case,標示出此 run 中最該優先檢視的 scenario × 維度組合。每筆同時列出實際觸發低分的 sub-metric 名稱,方便定位是 KB 漏洞、工具排序問題、還是規則違反。

  1. 01
    early_return 情境
    0.0% n=9 最低 sub_metric: scenario_precision
  2. 02
    early_return 工具使用
    0.0% n=1 最低 sub_metric: tools_precision
  3. 03
    退換貨 檢索
    0.0% n=3 最低 sub_metric: knowledges_source_precision
IV. DEEP DIVE

全段詳細數據

兩項目評估報告

  • EvalRun: #217(suite #115 auto-1f76f4a5-r1-053959389
  • Target: #1 production-baseline
  • Cases: 30(N=1, attempts=30/30)
  • Generated: 2026-05-16T13:51:01+08:00

本報告含兩個獨立評估項目。項目一 評估 bot 進入「知識與產品查詢」fallback 後的撈取 + 回答能力;項目二 評估 bot 跨全 enabled scenarios 的 routing → tool → answer 三段 funnel 健康度。


項目一: 知識庫精準度

評估範圍 (prerequisite: 進對 scenario)

  • 進對 scenario 的 attempts: 10 / 30 (33.3%)
  • 只對這些 attempts 算 retrieval + answer
  • 沒進對 scenario 的 attempts → 排除(routing 失敗不該污染 KB 訊號)

Per-scenario 評估

Scenario qualifying / total attempts retrieval_relevance answer_correctness
知識與產品查詢 10 / 10 ⚪ 60.6% ✅ 100.0%

待修方向(worst-3)

  1. 知識與產品查詢 × retrieval_relevance = 60.6% — retrieval 略低 — 看 LLM relevance vs topic_match 哪邊弱
  2. 知識與產品查詢 × answer_correctness = 100.0% — 回答內容有問題 — 細看 hallucination_rate vs answer_quality 哪邊低

項目二: 情境調用與完成

整體 funnel(全 scenarios 加總)

Stage Pass count % of total
Total attempts 20 100.0%
Step 1: scenario_routing 3 15.0%
Step 2: + tool_calling 3 15.0%
Step 3: + answer 1 5.0%

Per-scenario funnel

Scenario (n_attempts) Step 1 (routing) Step 2 (tool) Step 3 (answer) end-to-end
early_return (9) ❌ 0/9 (0.0%) ❌ 0/9 (0.0%) ❌ 0/9 (0.0%) ❌ 0/9 (0.0%)
知識與產品查詢 (4) ⚪ 3/4 (75.0%) ⚪ 3/4 (75.0%) ❌ 1/4 (25.0%) ❌ 1/4 (25.0%)
訂單查詢 (3) ❌ 0/3 (0.0%) ❌ 0/3 (0.0%) ❌ 0/3 (0.0%) ❌ 0/3 (0.0%)
退換貨 (4) ❌ 0/4 (0.0%) ❌ 0/4 (0.0%) ❌ 0/4 (0.0%) ❌ 0/4 (0.0%)

Drop-off 最大的 5 個 scenario

  1. early_return drop at step1 (-100.0pp)
  2. 訂單查詢 drop at step1 (-100.0pp)
  3. 退換貨 drop at step1 (-100.0pp)
  4. 知識與產品查詢 drop at step3 (-50.0pp)

Audit

Reproduce combined report: bin/rails runner "puts Eval::EvaluationReport.call(run: EvalRun.find(217))" Or fetch each item separately:

  • bin/rails runner "puts Eval::KbAccuracyReport.call(run: EvalRun.find(217))"
  • bin/rails runner "puts Eval::ScenarioFunnelReport.call(run: EvalRun.find(217))"

Per-Scenario × Per-Dim — Run #217

Suite: Simmpo AI 客服 (bulk R1) · scenarios: 4 · dims: 5 · populated cells: 19/20

Scenario Scenario Tool Retrieval Faith AnsQ
early_return 0.0% [0.0–0.0] (n=9) 0.0% (n=1) 75.0% [37.5–100.0] (n=8) 100.0% [100.0–100.0] (n=9) 91.1% [78.5–99.3] (n=9)
知識與產品查詢 92.9% [78.6–100.0] (n=14) 92.9% [78.6–100.0] (n=14) 75.0% [53.6–92.9] (n=14) 81.0% [61.9–97.6] (n=14) 85.5% [68.3–97.4] (n=14)
訂單查詢 33.3% [0.0–100.0] (n=3) 0.0% [0.0–0.0] (n=3) 16.7% [0.0–50.0] (n=3) 100.0% [100.0–100.0] (n=3) 64.4% [43.3–90.0] (n=3)
退換貨 0.0% [0.0–0.0] (n=4) 0.0% [0.0–0.0] (n=3) 83.3% [50.0–100.0] (n=4) 48.3% [26.7–76.7] (n=4)

Worst-3 cells (lowest primary score)

  1. early_return × Scenario · 0.0% (n=9) · lowest sub_metric: scenario_precision
  2. early_return × Tool · 0.0% (n=1) · lowest sub_metric: tools_precision
  3. 退換貨 × Retrieval · 0.0% (n=3) · lowest sub_metric: knowledges_source_precision