♻️ refactor(tsl-api-reference): reorganize function reference pages
Move runtime and document pages into their correct scope, remove obsolete pending entries, and regenerate the function index.\nUpdate agent test guidance and API skill routing to match the new reference layout.
This commit is contained in:
+7
-15
@@ -19,7 +19,7 @@ agent 短名。随后严格按本文的标准测试流程执行。
|
||||
|
||||
- `prompts_zh.md`:给被测 agent 的题面文件。
|
||||
- 包含 100 个唯一测试用例。
|
||||
- 只包含题面,不包含答案、评分细则或 source docs 映射。
|
||||
- 只包含题面,不包含答案、评分细则或事实来源映射。
|
||||
- 除非题面明确要求 `.tsf`,默认都要求生成 `.tsl`。
|
||||
|
||||
不再维护单独的 rubric 文件。不要用人工答案表给被测 agent 提供额外线索。
|
||||
@@ -97,12 +97,10 @@ mkdir -p "test/agent/result/$AGENT/$DATE"
|
||||
|
||||
1. 为当前 case 启动全新的被测 agent 会话。测试执行方可以保持同一个会话,
|
||||
但被测 agent 不能在同一个会话里连续回答多个 case。
|
||||
2. 只发送 `prompts_zh.md` 中的 `Runner Setup`、`Answer Rules` 加单个题面,
|
||||
或只暴露 `prompts_zh.md` 加 `docs/index.md` 及其路由到的 `docs/` 子页。
|
||||
3. 允许 agent 从 `docs/index.md` 自动路由并阅读相关文档。
|
||||
4. 记录 agent 生成的第一次完整代码并立即落盘。
|
||||
5. 落盘后冻结该 case 的第一轮结果文件;第一轮不允许 agent 根据运行结果或评分反馈修订答案。
|
||||
6. 被测 agent 不得主动读取、请求、搜索或引用任何评分材料。
|
||||
2. 只发送 `prompts_zh.md` 中的 `Runner Setup`、`Answer Rules` 加单个题面。
|
||||
3. 记录 agent 生成的第一次完整代码并立即落盘。
|
||||
4. 落盘后冻结该 case 的第一轮结果文件;第一轮不允许 agent 根据运行结果或评分反馈修订答案。
|
||||
5. 被测 agent 不得主动读取、请求、搜索或引用任何评分材料。
|
||||
|
||||
Codex 作为被测 agent 时:
|
||||
|
||||
@@ -130,10 +128,8 @@ Codex 作为被测 agent 时:
|
||||
推荐的运行器设置:
|
||||
|
||||
```text
|
||||
You are in this repository. The documentation entry point is docs/index.md.
|
||||
When asked to write TSL, start from docs/index.md and follow its routing to the
|
||||
relevant TSL pages. Do not infer syntax from Pascal, TypeScript, JavaScript,
|
||||
Python, or SQL.
|
||||
You are in this repository. When asked to write TSL, write valid TSL/TSF; do not
|
||||
infer syntax from Pascal, TypeScript, JavaScript, Python, or SQL.
|
||||
```
|
||||
|
||||
文件落盘规则:
|
||||
@@ -287,10 +283,6 @@ test/agent/result/
|
||||
| 运行时特性 | 10+ |
|
||||
| 高级边界 | 10+ |
|
||||
|
||||
## 相关文档
|
||||
|
||||
- 文档总入口:`docs/index.md`
|
||||
|
||||
## 最佳实践
|
||||
|
||||
- 测试用例应该对所有 agent 都适用。
|
||||
|
||||
Reference in New Issue
Block a user