W&B EvalTable previews
Use the bundled helper to preview existing wandb.Table data as
wandb.EvalTable data. A preview creates new runs and keys; it never overwrites
the source runs or tables.
Read references/EVAL_TABLES.md before converting. It is the canonical source
for EvalTable semantics, source selection, limits, column roles, verification,
and removal.
Environment
Run the helper from an environment that provides a W&B SDK with
wandb.EvalTable and Weave. Use uv to supply missing dependencies:
uv run --with 'wandb[workspaces]>=0.28.1' --with weave \
python skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py --help
Credentials and default scope may come from WANDB_API_KEY, WANDB_ENTITY,
and WANDB_PROJECT; otherwise pass explicit entity/project arguments.
Downloads use the operating system's temporary directory, not a fixed current
working directory.
Required 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
scan. This is read-only preflight and is not proof of conversion.
- Review
eligible_summary_by_table_key, table shapes, truncations, warnings,
and existing-preview metadata. Select one table key unless the user asks for
a broader batch.
- 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
preview for exactly one --table-key per invocation. Keep the target
in the source project unless the user requests another writable project.
- If runs were created, run
verify-preview on the final created run and the
exact logged key. Report success only when it returns verified: true.
- Report created and skipped sources plus every truncation or failed check.
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
Safety
scan and preview --dry-run are read-only. preview creates W&B runs,
EvalTables, and Weave evaluations; run it only when the user requested a
conversion.
- 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
delete-preview --dry-run first, verify every target is helper-created, and
obtain confirmation before the irreversible invocation. Never delete source
runs.
1---2name: wandb-eval-tables3description: Convert W&B Table artifacts into non-destructive EvalTable previews with scan-first planning, typed input/output/score columns, bounded batches, verification, and safe removal. Use when a coding agent needs to create, inspect, compare, verify, or remove W&B EvalTable previews.4---5<!--
6SPDX-FileCopyrightText: 2026 CoreWeave, Inc.
7SPDX-License-Identifier: Apache-2.0
8SPDX-PackageName: skills
9-->
10
11# W&B EvalTable previews
12
13Use the bundled helper to preview existing `wandb.Table` data as
14`wandb.EvalTable` data. A preview creates new runs and keys; it never overwrites
15the source runs or tables.
16
17Read `references/EVAL_TABLES.md` before converting. It is the canonical source
18for EvalTable semantics, source selection, limits, column roles, verification,
19and removal.
20
21## Environment
22
23Run the helper from an environment that provides a W&B SDK with
24`wandb.EvalTable` and Weave. Use `uv` to supply missing dependencies:
25
26```bash
27uv run --with 'wandb[workspaces]>=0.28.1' --with weave \
28 python skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py --help
29```
30
31Credentials and default scope may come from `WANDB_API_KEY`, `WANDB_ENTITY`,
32and `WANDB_PROJECT`; otherwise pass explicit entity/project arguments.
33Downloads use the operating system's temporary directory, not a fixed current
34working directory.
35
36## Required workflow
37
381. Choose the narrowest source that matches the request: exact artifact, one
39 run, one sweep, or a project/workspace. Do not broaden an explicitly named
40 source.
412. Run `scan`. This is read-only preflight and is not proof of conversion.
423. Review `eligible_summary_by_table_key`, table shapes, truncations, warnings,
43 and existing-preview metadata. Select one table key unless the user asks for
44 a broader batch.
454. Classify columns only when confident. Input tuples must uniquely identify
46 rows; score columns must be numeric or boolean; free-text labels and
47 rationales are outputs. Leave ambiguous tables untyped.
485. Run `preview` for exactly one `--table-key` per invocation. Keep the target
49 in the source project unless the user requests another writable project.
506. If runs were created, run `verify-preview` on the final created run and the
51 exact logged key. Report success only when it returns `verified: true`.
527. Report created and skipped sources plus every truncation or failed check.
53
54```bash
55T=skills/wandb-eval-tables/scripts/table_artifact_to_eval_table.py
56
57uv run python "$T" scan \
58 --source-workspace ENTITY/PROJECT --max-runs 4
59
60uv run python "$T" preview \
61 --source-workspace ENTITY/PROJECT \
62 --target-project ENTITY/PROJECT \
63 --max-runs 4 \
64 --table-key predictions
65
66uv run python "$T" verify-preview \
67 --run ENTITY/PROJECT/PREVIEW_RUN_ID \
68 --table-key predictions_preview
69```
70
71## Safety
72
73- `scan` and `preview --dry-run` are read-only. `preview` creates W&B runs,
74 EvalTables, and Weave evaluations; run it only when the user requested a
75 conversion.
76- The helper caps tables at 10,000 rows and 100 columns, warns above 1,000
77 rows, and refuses more than 50 eligible table artifacts for one key. Surface
78 every cap; never imply a truncated preview is complete.
79- Do not bypass helper failures with ad-hoc logging. Narrow or correct helper
80 arguments, then retry only when the change is safe.
81- Removal deletes both Weave evaluations and preview runs. Run
82 `delete-preview --dry-run` first, verify every target is helper-created, and
83 obtain confirmation before the irreversible invocation. Never delete source
84 runs.