Skip to content

Updated context gets passed *all the way* downstream. - #142

Merged
bkorycki merged 2 commits into
mainfrom
context-bug
May 26, 2026
Merged

bkorycki merged 2 commits into
mainfrom
context-bug

Conversation

@bkorycki

Copy link
Copy Markdown
Contributor

Example: node A -> node B -> node C.
Assume node A updates the context.

Before: node B would see that updated context, but node C would only see the original context.
Now: the updated context is floated all the way down stream (or until it's updated by another node).

Before, this was a problem in our security DAG; the refusal detector would see the decoded sut response, but then the safety arbiter would only see the original, encoded response.

Let me know if my fix has consequences that I am not thinking of.

@bkorycki
bkorycki requested a review from superdosh May 21, 2026 18:22
@bkorycki
bkorycki requested a review from a team as a code owner May 21, 2026 18:22
@github-actions

github-actions Bot commented May 21, 2026 •

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

Comment thread src/modelplane/evaluator/dag.py
@bkorycki
bkorycki merged commit fdb0224 into main May 26, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2026
@bkorycki
bkorycki deleted the context-bug branch May 26, 2026 16:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants