docs: custom chart GraphQL query guide (WBDOCS-1606)#2482
docs: custom chart GraphQL query guide (WBDOCS-1606)#2482johndmulhausen wants to merge 5 commits intomainfrom
Conversation
Explain summaryTable vs historyTable, tableKey, and chart fields; link tutorial and step-slider support article; fix walkthrough table key typo.
bfd2619 to
f371e10
Compare
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Avoid citing exact menu labels ('Edit query', 'Other settings') that may not match the current UI. Flagged for SME verification.
|
Follow-up after review questions:
Needs SME verification (updated)
|
There was a problem hiding this comment.
Pull request overview
Improves the Custom Charts documentation by adding a focused guide on constructing the GraphQL query (including when to use summaryTable vs historyTable, how to set tableKey, and how to work with Chart fields), and updates the walkthrough to align with the corrected example key and cross-link the new guidance.
Changes:
- Added a new “Build the GraphQL query” subsection with source descriptions, examples, and Chart fields naming guidance.
- Updated the custom charts walkthrough to fix the logged table key example and link readers to the new GraphQL query section.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| models/app/features/custom-charts/walkthrough.mdx | Fixes the example tableKey and adds a cross-link to the new query-building guidance. |
| models/app/features/custom-charts.mdx | Adds a new subsection explaining GraphQL query sources (config/summary/history/summaryTable/historyTable), tableKey, examples, and Chart fields naming. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| **What each source is for** | ||
|
|
||
| * **Config** pulls [run configuration](/models/track/config/) values (hyperparameters and other settings). | ||
| * **Summary** pulls [summary](/models/track/log/) values. For keys you log with `wandb.Run.log()`, the summary usually holds the last value written for that key unless you set the summary yourself. |
There was a problem hiding this comment.
The “Summary” bullet links to /models/track/log/, which is the general logging overview. If this is specifically about how the run summary behaves/gets populated, linking to /models/track/log/log-summary/ would be a more direct reference for readers.
| * **Summary** pulls [summary](/models/track/log/) values. For keys you log with `wandb.Run.log()`, the summary usually holds the last value written for that key unless you set the summary yourself. | |
| * **Summary** pulls [summary](/models/track/log/log-summary/) values. For keys you log with `wandb.Run.log()`, the summary usually holds the last value written for that key unless you set the summary yourself. |
📚 Mintlify Preview Links📝 Changed (2 total)📄 Pages (2)
🤖 Generated automatically when Mintlify deployment succeeds |
🔗 Link Checker Results✅ All links are valid! No broken links were detected. Checked against: https://wb-21fd5541-wbdocs-1606.mintlify.app |
Per wandb/sdk/wandb_summary.py: summary defaults to the last logged value, and can be overridden via run.define_metric(summary=...) or run.summary[key] = value.
Claim adjudicationI re-investigated every new technical claim in this PR against code and engineering sources. Results below. Primary sources consulted
Verified
Fixed during adjudication
Partial / terminology caveat (not fixed)
Could not independently verify (still flagged for SME)
Resulting PR state
|
- Add complete intro sentences before lists (structure) - Convert non-sequential numbered examples to bullets with intro - Shorten Summary bullet for readability; keep define_metric and summary assignment - Fix 'loading into' typo in walkthrough; clarify cross-link wording
Style guide pass (Google + AGENTS.md)Applied to PR #2482 files only: Checkpoint 1 (structure and context)
Checkpoint 2 (language, formatting, polish)
Not changed (out of scope)
Recommendations for technical review
Commit: |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Summary
Addresses WBDOCS-1606: clearer documentation for building queries in Custom Charts (GraphQL), including how to choose
summaryTablevshistoryTable, settableKey, and use Chart fields. Cross-links the existing tutorial and the step-slider support article.Changes
my_custom_table→custom_data_table); link to the new section.Sources and decision log
historyTablefor step selector).Needs SME verification
wandb.Run.logkeys) matches current product behavior for all edge cases.Resume prompt
Continue from PR (replace with actual URL after create): add SME review on WBDOCS-1606, then TW pass. Ticket: WBDOCS-1606.
{ "skill": "author-docs", "version": "1.0.0", "depends_on": {"style-guide": "1.0.0"}, "model": "unknown" }