Skip to content

Outcome: a dict works for any keyword, e.g. weights of each response - #8

Merged
jonathan-taylor merged 1 commit into
mainfrom
outcome-dict-any-keyword
Oct 27, 2026
Merged

jonathan-taylor merged 1 commit into
mainfrom
outcome-dict-any-keyword

Conversation

@jonathan-taylor

Copy link
Copy Markdown
Contributor

Follows #7, which was merged before this commit was pushed. #7's per-response dict was never specific to offset: this says so in the docs, the changelog and Outcome's docstring, and adds a test with weights of each response:

Outcome(['y1', 'y2'], offset='O', weight={'y1': 'w1', 'y2': 'w2'})
# -> y1, y2, offset, weight[y1], weight[y2]

The full suite gives 283 passed and 5 strict xfails. Since #7 only adds to 0.3.0, these two could be released as 0.3.1.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonathan-taylor
jonathan-taylor merged commit 8e0d4b6 into main Oct 27, 2026
2 checks passed
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