Files
Video-Tree-TRM5/research-wiki/findings/eval-spec2-batch-tree-build.md

31 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: eval-spec2-batch-tree-build
title: "Harness 评估: Spec-2 批量并行建树"
type: finding
created: 2026-07-11
tags: [harness-eval, spec-2, batch-tree-build]
---
## 评估结论:不适用(N/A
| 字段 | 内容 |
|------|------|
| 分支 | `feat/batch-tree-build` |
| 提交范围 | e9073bf..02900057 commits |
| 判定 | **N/A — 无可评估指标** |
## 理由
Spec-2 为纯工具层新增,不修改任何推理/搜索/训练路径代码:
- `tools/build_trees.py`(新增):批量建树编排脚本
- `scripts/build_trees.sh`(新增):shell 入口
- `.env.example`(追加一行):`TREE_BUILD_API_CONCURRENCY=16`
- `app/tree/video_builder.py`(最小改动):`_build_async` 重命名为 `build_async` + 信号量注入,方法体零改动
harness-eval 前置条件(schemas/metrics/harness.db)均不存在,且本 Spec 不影响推理性能指标。
## 算法保真确认
Codex 最终整体审查确认:`build_async` 方法体与原 `_build_async` 完全一致,信号量默认路径保持 `asyncio.Semaphore(self._config.concurrency)`,单视频行为零变化。