Skip to content

fix(eval): decode v4 parents for trace scorers - #1177

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-926-python-decode-v4-parents-when-building-the
Nov 24, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/sdk-926-python-decode-v4-parents-when-building-the

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

🤖 This text was AI-generated.

Eval trace scorers used a V3 decoder, so a V4 project or playground log parent caused scorers to look for spans in the experiment.

V4 log parent -> V3 decoder fails -> experiment fallback
V4 log parent -> V4 decoder succeeds -> parent's log destination

The V4 decoder also accepts older exports. Malformed parent strings emit a debug log and keep the experiment fallback. W3C context dictionaries bypass slug decoding.

resolves https://linear.app/braintrustdata/issue/SDK-926/python-decode-v4-parents-when-building-the-trace-for-trace-scorers-in

> 🤖 **This text was AI-generated.**

Eval trace scorers used a V3 decoder, so a V4 project or playground
log parent caused scorers to look for spans in the experiment.

```
V4 log parent -> V3 decoder fails -> experiment fallback
V4 log parent -> V4 decoder succeeds -> parent's log destination
```

The V4 decoder also accepts older exports. Malformed parent strings
emit a debug log and keep the experiment fallback. W3C context
dictionaries bypass slug decoding.

Refs: SDK-926
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T23:47:47.360777Z 5f462da PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit af7928a into main Nov 24, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/sdk-926-python-decode-v4-parents-when-building-the branch November 24, 2026 05:03
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