Skip to content

🔄 Sync code examples from docs-code-eval#2404

Open
github-actions[bot] wants to merge 1 commit intomainfrom
sync-code-examples-5
Open

🔄 Sync code examples from docs-code-eval#2404
github-actions[bot] wants to merge 1 commit intomainfrom
sync-code-examples-5

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

🔄 Automated Code Examples Sync

This PR syncs ground truth code examples from the docs-code-eval repository.
These examples are used to build the SDK coding cheat sheet.

Changes

Synced 70 file(s) from docs-code-eval:

  • 46 Python example(s) updated
  • Cheat sheet regenerated

Files Updated

  • Code Examples: snippets/en/_includes/code-examples/*.mdx
  • Cheat Sheet: models/ref/sdk-coding-cheat-sheet/

Review Checklist

  • Verify code examples are correct
  • Check cheat sheet rendering
  • Ensure all examples have proper placeholders
  • Confirm difficulty levels are appropriate

How This Works

This PR was automatically created by the Sync Code Examples workflow, which:

  1. Clones the latest docs-code-eval repository
  2. Copies ground truth examples from ground_truth/
  3. Regenerates the SDK coding cheat sheet
  4. Creates this draft PR if changes are detected

Manual Sync

You can trigger this workflow manually from the Actions tab.


🤖 This is a draft PR. Review the changes and mark as ready when satisfied.

Auto-sync of ground truth examples from docs-code-eval repository.
Updated 70 file(s).
@github-actions github-actions bot added automated code-examples documentation Improvements or additions to documentation labels Mar 31, 2026
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Mar 31, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wandb 🟢 Ready View Preview Mar 31, 2026, 11:27 PM

@github-actions
Copy link
Copy Markdown
Contributor Author

📚 Mintlify Preview Links

🔗 View Full Preview

✨ Added (35 total)

📄 Pages (18)

File Preview
models/ref/sdk-coding-cheat-sheet/sweeps.mdx Sweeps
snippets/en/_includes/code-examples/log_csv_files.mdx Log Csv Files
snippets/en/_includes/code-examples/log_custom_summaty_metric.mdx Log Custom Summaty Metric
snippets/en/_includes/code-examples/log_histogram_plot.mdx Log Histogram Plot
snippets/en/_includes/code-examples/log_line_plot.mdx Log Line Plot
snippets/en/_includes/code-examples/log_scatter_plot.mdx Log Scatter Plot
snippets/en/_includes/code-examples/log_summary_metric.mdx Log Summary Metric
snippets/en/_includes/code-examples/run_resume.mdx Run Resume
snippets/en/_includes/code-examples/run_rewind.mdx Run Rewind
snippets/en/_includes/code-examples/runs_add_tags.mdx Runs Add Tags
... and 8 more files
⚙️ Other (17)
File
snippets/en/_includes/code-examples/log_csv_files.py
snippets/en/_includes/code-examples/log_custom_summaty_metric.py
snippets/en/_includes/code-examples/log_histogram_plot.py
snippets/en/_includes/code-examples/log_line_plot.py
snippets/en/_includes/code-examples/log_scatter_plot.py
snippets/en/_includes/code-examples/log_summary_metric.py
snippets/en/_includes/code-examples/run_resume.py
snippets/en/_includes/code-examples/run_rewind.py
snippets/en/_includes/code-examples/runs_add_tags.py
snippets/en/_includes/code-examples/runs_group.py
... and 7 more files

📝 Changed (35 total)

📄 Pages (5)

File Preview
models/ref/sdk-coding-cheat-sheet.mdx Sdk Coding Cheat Sheet
models/ref/sdk-coding-cheat-sheet/logging.mdx Logging
models/ref/sdk-coding-cheat-sheet/runs.mdx Runs
snippets/en/_includes/code-examples/log_table.mdx Log Table
snippets/en/_includes/code-examples/run_fork.mdx Run Fork
⚙️ Other (30)
File
snippets/CodeSnippet.jsx
snippets/en/_includes/code-examples/artifact_add_alias.py
snippets/en/_includes/code-examples/artifact_add_alias_existing.py
snippets/en/_includes/code-examples/artifact_add_tag.py
snippets/en/_includes/code-examples/artifact_add_tag_existing.py
snippets/en/_includes/code-examples/artifact_create.py
snippets/en/_includes/code-examples/artifact_create_track_external.py
snippets/en/_includes/code-examples/artifact_delete.py
snippets/en/_includes/code-examples/artifact_delete_collection.py
snippets/en/_includes/code-examples/artifact_download_partial.py
... and 20 more files

🤖 Generated automatically when Mintlify deployment succeeds
📍 Deployment: 2aee517 at 2026-03-31 23:28:16 UTC

@github-actions
Copy link
Copy Markdown
Contributor Author

🔗 Link Checker Results

All links are valid!

No broken links were detected.

Checked against: https://wb-21fd5541-sync-code-examples-5.mintlify.app

@mdlinville mdlinville requested review from ngrayluna and removed request for johndmulhausen and mdlinville March 31, 2026 23:33
Comment on lines +9 to +10
import RunResume from '/snippets/en/_includes/code-examples/run_resume.mdx';
import RunRewind from '/snippets/en/_includes/code-examples/run_rewind.mdx';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mdlinville mdlinville marked this pull request as ready for review March 31, 2026 23:35
@mdlinville mdlinville requested a review from a team as a code owner March 31, 2026 23:35
@mdlinville mdlinville enabled auto-merge (squash) March 31, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated code-examples documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant