This repository was archived by the owner on Jul 17, 2026. It is now read-only.
feat(campaign-view): pd-campaign-view — the standard campaign workspace view, as code#986
Open
claude-spd1 wants to merge 1 commit into
Open
feat(campaign-view): pd-campaign-view — the standard campaign workspace view, as code#986claude-spd1 wants to merge 1 commit into
claude-spd1 wants to merge 1 commit into
Conversation
…ce view, as code A campaign (one wandb group + a saved workspace view) has hand-built its view per campaign since the torch-era create_workspace_view died in the JAX migration (the wandb-workspaces dep survived, unused). pd-campaign-view <group> saves the standard view — referee / recon quality / train losses / health / schedules sections over the canonical metric keys, runset-filtered on the group — so the layout is versioned and evolves by PR instead of UI fiddling. Verified end-to-end against the smooth-l0-matrix-100k campaign: https://wandb.ai/goodfire/param-decomp?nw=kb666b2nyzk Crew-Address: task/tidy-wandb-logging-structure Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part 2 of the wandb-logging tidy (board task
tidy-wandb-logging-structure), independent of #985.New lab CLI
pd-campaign-view <group> [--project ...] [--entity ...]saves the standard wandb workspace view for a campaign: sections mirroring the canonical metric namespaces —eval/loss/PGDReconLoss(log-y), CI-masked KL + CE difference, plus a markdown panel stating the team convention (compare arms on last-5/10-eval medians, mid-window reads).eval/ce_kl/kl_*variants + the fivece_difference_*.train/mem/peak_gb_per_rank,train/perf/step_time_s.Runset is filtered on
Group == <group>(ws.Metric("Group")). Run-shaped key families (per-siteeval/l0/*, grad-norm leaves) stay in the hidden-panels pool for the campaign author to pull in — the view is a seed, not a cage.This resurrects the torch-era
create_workspace_viewidea (deleted in the JAX migration; thewandb-workspacesdep survived unused) in versioned-standard form: the layout evolves by PR instead of per-campaign UI hand-building.Motivation and Context
Every recent campaign (smooth-l0-matrix-100k, muon-cifn-matrix, routep-sched-1, …) hand-built its saved view from scratch. The board task asks to standardize that.
How Has This Been Tested?
make checkclean.pd-campaign-view smooth-l0-matrix-100k→ https://wandb.ai/goodfire/param-decomp?nw=kb666b2nyzk (a genuinely usable view for that campaign; delete it if unwanted).Does this PR introduce a breaking change?
No. Additive: one new module, one console script, doc rows in the two CLAUDE.mds.
Known limitation (documented in the module docstring): re-running creates a new view rather than updating in place — the wandb API exposes no list-views surface to find an existing view by name.
Crew-Address: task/tidy-wandb-logging-structure
🤖 Generated with Claude Code