wandb-eval-tables
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!--
SPDX-FileCopyrightText: 2026 CoreWeave, Inc.
SPDX-License-Identifier: Apache-2.0
SPDX-PackageName: skills
-->
<!--
SPDX-FileCopyrightText: 2026 CoreWeave, Inc.
SPDX-License-Identifier: Apache-2.0
SPDX-PackageName: skills
-->
W&B EvalTable previews
W&B EvalTable 预览
Use the bundled helper to preview existing data as
data. A preview creates new runs and keys; it never overwrites
the source runs or tables.
wandb.Tablewandb.EvalTableRead before converting. It is the canonical source
for EvalTable semantics, source selection, limits, column roles, verification,
and removal.
references/EVAL_TABLES.md使用配套工具将现有数据预览为数据。预览操作会创建新的运行记录和键,但绝不会覆盖源运行记录或表格。
wandb.Tablewandb.EvalTable在进行转换前,请阅读。该文档是EvalTable语义、来源选择、限制、列角色、验证及删除操作的权威参考。
references/EVAL_TABLES.mdEnvironment
环境要求
Run the helper from an environment that provides a W&B SDK with
and Weave. Use to supply missing dependencies:
wandb.EvalTableuvbash
uv run --with 'wandb[workspaces]>=0.28.1' --with weave \
python skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py --helpCredentials and default scope may come from , ,
and ; otherwise pass explicit entity/project arguments.
Downloads use the operating system's temporary directory, not a fixed current
working directory.
WANDB_API_KEYWANDB_ENTITYWANDB_PROJECT请在提供了包含和Weave的W&B SDK环境中运行该工具。使用来补充缺失的依赖:
wandb.EvalTableuvbash
uv run --with 'wandb[workspaces]>=0.28.1' --with weave \
python skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py --help凭证和默认范围可来自、和;否则请传入明确的实体/项目参数。下载操作使用操作系统的临时目录,而非固定的当前工作目录。
WANDB_API_KEYWANDB_ENTITYWANDB_PROJECTRequired workflow
必选工作流程
- Choose the narrowest source that matches the request: exact artifact, one run, one sweep, or a project/workspace. Do not broaden an explicitly named source.
- Run . This is read-only preflight and is not proof of conversion.
scan - Review , table shapes, truncations, warnings, and existing-preview metadata. Select one table key unless the user asks for a broader batch.
eligible_summary_by_table_key - Classify columns only when confident. Input tuples must uniquely identify rows; score columns must be numeric or boolean; free-text labels and rationales are outputs. Leave ambiguous tables untyped.
- Run for exactly one
previewper invocation. Keep the target in the source project unless the user requests another writable project.--table-key - If runs were created, run on the final created run and the exact logged key. Report success only when it returns
verify-preview.verified: true - Report created and skipped sources plus every truncation or failed check.
bash
T=skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py
uv run python "$T" scan \
--source-workspace ENTITY/PROJECT --max-runs 4
uv run python "$T" preview \
--source-workspace ENTITY/PROJECT \
--target-project ENTITY/PROJECT \
--max-runs 4 \
--table-key predictions
uv run python "$T" verify-preview \
--run ENTITY/PROJECT/PREVIEW_RUN_ID \
--table-key predictions_preview- 选择与请求匹配的最窄范围来源:特定工件、单个运行、单个sweep或项目/工作区。不要扩大明确指定的来源范围。
- 运行命令。这是只读的预检操作,不代表转换可行。
scan - 查看、表格结构、截断信息、警告及现有预览元数据。除非用户要求更广泛的批量处理,否则仅选择一个表格键。
eligible_summary_by_table_key - 仅在确认无误时对列进行分类。输入元组必须能唯一标识行;评分列必须为数值型或布尔型;自由文本标签和理由属于输出列。对于模糊的表格,请勿指定类型。
- 每次调用命令时,仅指定一个
preview。除非用户要求其他可写入的项目,否则将目标保留在源项目中。--table-key - 如果已创建运行记录,请对最终创建的运行记录和确切的日志键运行命令。仅当返回
verify-preview时,才可报告操作成功。verified: true - 报告已创建和已跳过的来源,以及所有截断或检查失败的情况。
bash
T=skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py
uv run python "$T" scan \
--source-workspace ENTITY/PROJECT --max-runs 4
uv run python "$T" preview \
--source-workspace ENTITY/PROJECT \
--target-project ENTITY/PROJECT \
--max-runs 4 \
--table-key predictions
uv run python "$T" verify-preview \
--run ENTITY/PROJECT/PREVIEW_RUN_ID \
--table-key predictions_previewSafety
安全注意事项
- and
scanare read-only.preview --dry-runcreates W&B runs, EvalTables, and Weave evaluations; run it only when the user requested a conversion.preview - The helper caps tables at 10,000 rows and 100 columns, warns above 1,000 rows, and refuses more than 50 eligible table artifacts for one key. Surface every cap; never imply a truncated preview is complete.
- Do not bypass helper failures with ad-hoc logging. Narrow or correct helper arguments, then retry only when the change is safe.
- Removal deletes both Weave evaluations and preview runs. Run
first, verify every target is helper-created, and obtain confirmation before the irreversible invocation. Never delete source runs.
delete-preview --dry-run
- 和
scan为只读操作。preview --dry-run会创建W&B运行记录、EvalTable和Weave评估;仅当用户明确要求转换时才运行该命令。preview - 该工具会将表格限制为10000行和100列,当行数超过1000时发出警告,并且拒绝为单个键处理超过50个符合条件的表格工件。需告知用户所有限制,绝不能暗示截断后的预览是完整的。
- 不要通过临时日志绕过工具的失败提示。请缩小或修正工具参数,仅在变更安全的情况下重试。
- 删除操作会同时删除Weave评估和预览运行记录。请先运行,验证所有目标均为工具创建的内容,并在执行不可逆操作前获得确认。绝不能删除源运行记录。
delete-preview --dry-run