A local-first multi-agent app development platform, built on PenguinHarness
fix(web): translate the Evaluation Center's Score label in the zh dictionary (#760)
Yaowei Zheng57b93f03aea7
diff --git a/changelog/unreleased/2026-09-16-benchmark-score-label.md b/changelog/unreleased/2026-09-16-benchmark-score-label.mdnew file mode 100644index 00000000..a2bc9080--- /dev/null+++ b/changelog/unreleased/2026-09-16-benchmark-score-label.md@@ -0,0 +1,19 @@+# The Evaluation Center's score label is translated in the Chinese interface++- **Date:** 2026-09-16+- **Type:** fix+- **Scope:** `web`+- **PR:** [#760](https://github.com/Prism-Shadow/penguin-harness/pull/760)++[中文版](2026-09-16-benchmark-score-label.zh.md)++The Chinese interface left one Evaluation Center label in English: "Score" headed the score column+of the evaluation table and of the per-case table in the evaluation dialog, named the score in that+dialog's metric row, and made the chart title read "Score随时间变化". It was translated as 分数, the+word the other Chinese score labels already used (最新分数, 目标分数), and the chart title became+分数随时间变化.++The Ask AI dialogs still called the same number 得分: in the description of "Ask AI about this+evaluation", in an example button of "Ask AI about this case" and in the prompts both prefill, as did+the prompts that Create with AI and Evaluate prefill. Each became 分数, except where it named the+per-case list handed to the agent, which became 逐题结果.diff --git a/changelog/unreleased/2026-09-16-benchmark-score-label.zh.md b/changelog/unreleased/2026-09-16-benchmark-score-label.zh.mdnew file mode 100644index 00000000..e318e742--- /dev/null+++ b/changelog/unreleased/2026-09-16-benchmark-score-label.zh.md@@ -0,0 +1,16 @@+# 评估中心的分数标签译为中文++- **Date:** 2026-09-16+- **Type:** fix+- **Scope:** `web`+- **PR:** [#760](https://github.com/Prism-Shadow/penguin-harness/pull/760)++[English](2026-09-16-benchmark-score-label.md)++中文界面里评估中心还留着一个英文标签:「Score」用作评估明细表与评估详情弹窗中逐题表的分数列标题,也是+弹窗指标行里分数的名称,曲线图标题因此显示为「Score随时间变化」。它改译为「分数」,与中文界面里其他分数标签+(最新分数、目标分数)用词一致,曲线图标题随之显示为「分数随时间变化」。++「问 AI」弹窗里,同一个分数仍叫「得分」:「问 AI:这次评估」的说明文字、「问 AI:这道题」的一个示例按钮,以及两者+预填的提示词都这样写,「用 AI 创建」与「评估」预填的提示词也一样。这些「得分」都改为「分数」,唯有指交给智能体的+逐题列表时改为「逐题结果」。diff --git a/packages/web/src/lib/strings.ts b/packages/web/src/lib/strings.tsindex acebfa21..3745ca61 100644--- a/packages/web/src/lib/strings.ts+++ b/packages/web/src/lib/strings.ts@@ -3055,7 +3055,7 @@ Benchmark:colVersion: "版本",colModel: "模型 ID",colThinkingLevel: "推理强度",- colScore: "Score",+ colScore: "分数",colDuration: "耗时",colCase: "题目",colRun: "运行",@@ -3065,7 +3065,7 @@ Benchmark:evaluationDetailTitle: (time: string): string => `评估 · ${time}`,askEvaluationTitle: "问 AI:这次评估",askEvaluationDescription:- "这次评估的总分、逐题得分与逐次运行的 Session id 会一起交给智能体,它读过记分板与相关 Trace 后作答;提示词可以改。",+ "这次评估的总分、逐题结果与逐次运行的 Session id 会一起交给智能体,它读过记分板与相关 Trace 后作答;提示词可以改。",askEvaluationDefault: "解释这次评估的结果。",/** The default question leads the examples (it is what the box opens with), so a reader who tried another can bring it back. Keep `explain.prompt` equal to askEvaluationDefault. */askEvaluationExamples: {@@ -3075,11 +3075,11 @@ Benchmark:},whyLow: {label: "为什么这次分数低?",- prompt: "为什么这次评估的分数偏低?请结合逐题得分与运行记录说明主要失分在哪里。",+ prompt: "为什么这次评估的分数偏低?请结合逐题分数与运行记录说明主要失分在哪里。",},weakest: {label: "哪些题最弱、该改什么?",- prompt: "哪几道题得分最弱?分别是什么原因,被测智能体改哪一处才有机会提上去?",+ prompt: "哪几道题分数最低?分别是什么原因,被测智能体改哪一处才有机会提上去?",},againstPrevious: {label: "与上一次评估相比变化在哪?",@@ -3111,7 +3111,7 @@ Benchmark:`- 总分 ${p.score};成本 ${p.cost};耗时 ${p.duration}\n` +(p.summaryTitle !== "" ? `- 评估说明标题:${p.summaryTitle}\n` : "") +(p.summary !== "" ? `- 评估说明:${p.summary}\n` : "") +- "- 逐题得分(分数、成本、耗时,以及逐次运行的 Session id):\n" ++ "- 逐题结果(分数、成本、耗时,以及逐次运行的 Session id):\n" +p.cases.map((c) =>@@ -3136,8 +3136,8 @@ Benchmark:prompt: "这道题的评分细则把分数主要放在哪些地方?哪些条目最能把优秀与及格区分开?",},whyRunLow: {- label: "为什么有的运行在这道题上得分低?",- prompt: "最近一次评估在这道题上得分不高,可能是被测智能体在哪一步做丢了?",+ label: "为什么有的运行在这道题上分数低?",+ prompt: "最近一次评估在这道题上分数不高,可能是被测智能体在哪一步做丢了?",},clearerStatement: {label: "题干怎样才能更清楚?",@@ -3210,7 +3210,7 @@ Benchmark:"每题一个 `CASE-NNN-<slug>/`(`statement/README.md` 为题干,`rubric/README.md` 为评分细则,每题满分 100 分,细则不得泄露到题干)" +"以及 `scoreboard.yaml`(初始为 `evaluations: []`;每条 evaluation 记录被测的 `agent_id`、`version`、成对的 `provider` / `model_id` 与 `thinking_level`)。" +"每一次试测都必须通过 `run_subagent` 派发子会话,并在子会话的 prompt 里写明使用 `agent-evaluation` Skill——不要自己打分,也不要绕过这个技能;" +- "逐题试测以校准难度,定稿后冻结并把 Formal Baseline 追加进 scoreboard.yaml,最后报告 Benchmark id、基线分数与各题得分。",+ "逐题试测以校准难度,定稿后冻结并把 Formal Baseline 追加进 scoreboard.yaml,最后报告 Benchmark id、基线分数与各题分数。",// New Benchmark, manual mode: the form.manualCreateTitle: "手动创建 Benchmark",manualCreateIntro:@@ -3275,7 +3275,7 @@ Benchmark:"评测 Runtime 取被测智能体当前配置的模型与思考等级。校验每条返回结果的 `agent_id`、`provider`、`model_id` 与 `thinking_level` 完全一致," +"不一致就停下、不要把不同标签混成一条。按记分契约求各题(runs 平均)与整体(各题平均)的分数," +"然后只向 `scoreboard.yaml` 追加一条 evaluation,记上 `agent_id`、`version`、`provider` / `model_id` 与 `thinking_level` 作为标签。" +- "不修改被测智能体,也不修改 Benchmark。结束时报告总分、各题得分与本条记录的标签。",+ "不修改被测智能体,也不修改 Benchmark。结束时报告总分、各题分数与本条记录的标签。",// Optimize tab.optimizeDescription: "AI 会按可证伪的假设修改被测智能体并重新评测,分数严格提升才保留新版本。",optimizerAgent: "执行优化的智能体",