Repository navigation
Streamline agent documentation / 精简智能体文档 - #2545
Conversation
中文:精简智能体指南,并将详细操作说明移至按需查阅的内部参考文档。
|
Claude finished @Oseltamivir's task in 2m 15s —— View job Review of PR #2545
LGTM - no blocking issues found Verified against the repo: all five 中文:审查通过,未发现阻塞性问题。已核实所有锚点链接、扫描标签语义、路径修正及双语文档对均正确无误。 |
中文:恢复 PR、Issue 与技术翻译质量要求的完整说明。
| ### Metrics, power, and artifact schema | ||
|
|
||
| Multinode disaggregated results add role energy metrics: `prefill_gpu_energy_j` / `decode_gpu_energy_j` (board energy of that role's GPUs integrated over the FULL formal window — not kernel-level phase energies) and `prefill_joules_per_input_token` / `decode_joules_per_output_token`. | ||
| Core metrics: | ||
|
|
||
| ### Artifacts | ||
| | Metric | Meaning | | ||
| |---|---| | ||
| | `tput_per_gpu` | Total input plus output tokens per second per GPU | | ||
| | `output_tput_per_gpu` | Output tokens per second per GPU | | ||
| | `mean_ttft` | Mean time to first token | | ||
| | `p99_ttft` | 99th-percentile time to first token | | ||
| | `mean_tpot` | Mean time per output token after the first | | ||
| | `mean_e2el` | Mean end-to-end request latency | | ||
|
|
||
| `results_bmk` → `agg_bmk.json` (aggregated). `results_all` → all results aggregated (may not exist). `eval_results_all` → `agg_eval_all.json` (may not exist). `run-stats` → `run_stats.json` (which nodes ran and succeeded). `power_audit_<result>` → `power_validation_<result>.json` single-node, `power_validation_<result>_*.json` multinode (canonical power validity verdict + reason codes; uploaded even when invalid). | ||
| Power fields and artifact schemas are documented in [`.github/AGENT_OPERATIONS.md`](.github/AGENT_OPERATIONS.md#power-telemetry). Never dump raw result JSON. |
There was a problem hiding this comment.
🟡 AGENTS.md's cross-reference for "artifact schemas" points to .github/AGENT_OPERATIONS.md#power-telemetry, but that section only documents the power_audit_<result> artifact. The rest of the artifact schema (results_bmk, results_all, eval_results_all, run-stats) lives under the adjacent ## Result artifacts and metrics heading (#result-artifacts-and-metrics). Point the link at that anchor instead (or reference both).
Extended reasoning...
The bug: In AGENTS.md (the "Metrics, power, and artifact schema" section, ~line 171), the sentence "Power fields and artifact schemas are documented in .github/AGENT_OPERATIONS.md" promises two things — power fields and artifact schemas — but anchors to only one section.
Where it actually lives: .github/AGENT_OPERATIONS.md has two distinct headings introduced by this PR:
## Power telemetry(anchor#power-telemetry) — documentspower_valid,avg_power_w,avg_total_gpu_power_w,total_gpu_energy_j, the joules-per-* fields, and mentions only one artifact:power_audit_<result>.## Result artifacts and metrics(anchor#result-artifacts-and-metrics) — documents the actual artifact naming schema:results_bmk→agg_bmk.json,results_all,eval_results_all→agg_eval_all.json,run-stats→run_stats.json, pluspower_audit_<result>again.
Why this happened: the old AGENTS.md had these documented inline under its own ### Artifacts subsection, separate from the power-metrics prose above it. When this PR collapsed both into one outbound link, it kept only the #power-telemetry anchor — presumably because power_audit_<result> (the one artifact power telemetry does mention) made it feel like a complete match — but the bulk of the "artifact schema" content (four of the five artifacts) is in the other section.
Impact: low — this is a documentation cross-reference, not code. A reader clicking through for "artifact schemas" lands in ## Power telemetry, sees only power_audit_<result>, and has to notice the very next heading, ## Result artifacts and metrics, is actually what they wanted. Nothing breaks; the correct content is one scroll away.
Step-by-step proof:
- Open
AGENTS.md, find "Power fields and artifact schemas are documented in.github/AGENT_OPERATIONS.md#power-telemetry." - Follow that anchor to
## Power telemetryin.github/AGENT_OPERATIONS.md. - Read that section:
power_valid,avg_power_w,avg_total_gpu_power_w,total_gpu_energy_j, joules-per-* fields,dcgm-powercontract details, and one artifact line: "Power audit artifacts are namedpower_audit_<result>..." - Search for
results_bmk,results_all,eval_results_all, orrun-statsinside that section — none appear. - Scroll to the next heading,
## Result artifacts and metrics— this is where all four are defined, alongsidepower_audit_<result>again. - Conclusion: the "artifact schemas" half of the AGENTS.md sentence is anchored to the wrong section.
Fix: either retarget the link to #result-artifacts-and-metrics (drops power-field context) or, better, reference both anchors — e.g. "Power fields are documented in #power-telemetry; the artifact schema is documented in #result-artifacts-and-metrics." This is a one-line change with no downstream effects.
Streamline agent documentation.
中文说明
精简智能体文档。