Skip to content

fix(sleep): align dream contrast with gate metric - #211

Open
Bogdan (Dan) Baciu (bogdanbaciu21) wants to merge 1 commit into
microsoft:mainfrom
bogdanbaciu21:agent/dream-gate-metric
Open

fix(sleep): align dream contrast with gate metric#211
Bogdan (Dan) Baciu (bogdanbaciu21) wants to merge 1 commit into
microsoft:mainfrom
bogdanbaciu21:agent/dream-gate-metric

Conversation

@bogdanbaciu21

@bogdanbaciu21 Bogdan (Dan) Baciu (bogdanbaciu21) commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Fixes a mismatch in SkillOpt’s dreaming path: contrastive reflection always ranked rollouts by hard score, even when validation used soft or mixed scoring. Tied hard outcomes with different partial-credit quality therefore produced no contrast and no dream learning.

This change uses the configured gate metric for contrast selection, preserves hard scoring as the default, and adds regression tests for hard, soft, mixed, and configuration propagation.

Validation: 108 focused tests passed. Full suite: 932 passed, 8 skipped. Ruff passed.

@bogdanbaciu21

Copy link
Copy Markdown
Contributor Author

Got the PR up, will fill in details ASAP on the contribution and technical details + test suite coverage.

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