Skip to content

fix example split handling [LSDK-424] - #276

Open
Shamik Karkhanis (shamikkarkhanis) wants to merge 2 commits into
mainfrom
shamikkarkhanis/lsdk-424-native-splits
Open

fix example split handling [LSDK-424]#276
Shamik Karkhanis (shamikkarkhanis) wants to merge 2 commits into
mainfrom
shamikkarkhanis/lsdk-424-native-splits

Conversation

@shamikkarkhanis

Copy link
Copy Markdown
Contributor

Summary

  • create examples using the native LangSmith split request field
  • filter example listings through the API native splits query
  • keep user metadata independent from split membership
  • display API-provided dataset split membership in pretty output

Functional reproduction

Used one temporary production dataset containing:

  • a native test example whose user metadata had split=metadata-only
  • a native train example
  • a base example whose user metadata had split=test

Before: example list --split test returned the base metadata-only match and omitted the native test example.

After: the same command returned only the native test example, and pretty output showed its API-provided test membership. The temporary dataset was deleted afterward.

Test plan

  • go test ./...
  • go vet ./...
  • live create/list/filter workflow against a temporary LangSmith dataset

Linear: https://linear.app/langchain/issue/LSDK-424

@shamikkarkhanis
Shamik Karkhanis (shamikkarkhanis) force-pushed the shamikkarkhanis/lsdk-424-native-splits branch from cd69e8b to eae2ce8 Compare August 23, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant