Skip to content

feat: 增加 Deep Research Gold Case 数据集 - #77

Merged
helsome merged 1 commit into
helsome:mainfrom
xxstar-01:feat/deep-research-gold-cases
Sep 11, 2026
Merged

helsome merged 1 commit into
helsome:mainfrom
xxstar-01:feat/deep-research-gold-cases

Conversation

@xxstar-01

@xxstar-01 xxstar-01 commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

改动说明

Refs #15(独立子范围;真实模型 runner 与 Langfuse 接线留给后续 PR)。

  • 新增版本化 gold-case/v1 schema:expected facts、source/evidence requirements、forbidden conditions、weighted rubric。
  • 新增 deep-research-gold-v1,覆盖单事实、多来源核验、引用映射、因果推断、冲突值、证据不足、多步检索、长报告 synthesis 与 unsupported claim 等 10 个 case。
  • 在 eval CLI 入口校验 Gold Case 数据集,避免非法数据进入实验。
  • 增加确定性 validator、数据集完整性测试和 benchmark 文档。

验证

  • npx --yes bun test packages/shared/src/evaluation/datasets — 13 passed, 0 failed
  • npx --yes bun test packages/shared/src/evaluation — 118 passed, 0 failed
  • npx --yes bun run typecheck — all workspaces passed
  • npx --yes bun scripts/eval/run.ts --dataset deep-research-gold-v1 --mode fixture — 10/10 completed
  • git diff --check — passed

Fixture runner 使用确定性本地 runtime,不代表真实模型 / 实际 retrieval 验收;该部分不在本 PR scope 内。

测试环境

  • Bun:1.4.2(通过 npx --yes bun 运行)
  • OS/平台:Microsoft Windows 11 家庭版中文版,Build 26200,x64

UI 截图

  • 本 PR 不涉及 UI 变化
  • 已提供修改后的 UI 截图
  • 已提供 Before / After 对比截图(不适用)

Scope / 后续

本 PR 只负责 #15 的 Gold Case schema、首批 dataset 和 deterministic validation;统一 live runner、真实 E2E、Langfuse trace/score 关联由后续工作完成。

@helsome helsome left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

功能范围和现有验证方向都可以,当前只缺测试报告的最低环境信息。请在 PR 里补充:1) 实际使用的 Bun 版本;2) OS/平台。现有命令与结果(13/118 passed、10/10 fixture、typecheck)无需重跑或扩大范围;补齐环境信息后即可按这个独立 Gold Case dataset 增量继续审核。

@helsome
helsome dismissed their stale review September 11, 2026 15:27

作者已补齐 Bun 版本与 OS/平台;原测试命令与结果满足当前验收要求,旧 Changes Requested 已过期。

@helsome helsome left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bun 1.4.2、Windows 11 环境、dataset/evaluation focused tests、typecheck 和 10/10 fixture 结果都已补齐;该 PR 明确仅作为 #15 的 Gold Case 数据集增量,已改为 Refs #15,不会提前关闭整个 Issue。通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants