Skip to content

fix(sleep): honor configured splits in harvested task exports - #517

Open
Sylan1024 (ningsiyuan1024) wants to merge 1 commit into
microsoft:mainfrom
ningsiyuan1024:fix/sleep-honor-export-splits
Open

Sylan1024 (ningsiyuan1024) wants to merge 1 commit into
microsoft:mainfrom
ningsiyuan1024:fix/sleep-honor-export-splits

Conversation

@ningsiyuan1024

Copy link
Copy Markdown

Why

A configured test split appears in a normal night but disappears when the same sessions are exported with harvest or pinned on the first handoff round. This can change which tasks teach new rules and which tasks measure them.

What changed

Resolve validation and test fractions the same way for a normal cycle, CLI harvest, and the first handoff round. A resumed handoff continues to read its saved task partitions.

The normal nightly path already honors these settings after #235.

Verification

The two new offline tests replay 24 synthetic Claude Code transcripts through the public CLI. They reproduced the mismatch on the base and now confirm identical partitions by task ID across ordinary runs, harvested exports, and handoff snapshots. The 14-test export and handoff selection passes.

On Windows Python 3.11, the full suite reports 2,535 passing tests. All 37 branch failures also occur on the same upstream base.

The human contributor is responsible for design and review. Codex implemented and tested the change.

This branch has not been deployed

No deployments
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