Skip to content

fix(csa): preserve tracing without mutation families - #115

Merged
isty2e merged 1 commit into
mainfrom
fix/csa-empty-mutation-trace
Sep 26, 2026
Merged

isty2e merged 1 commit into
mainfrom
fix/csa-empty-mutation-trace

Conversation

@isty2e

@isty2e isty2e commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Change

Generation tracing now skips mutation-weight calculation when no mutation family is configured. Previously, valid regular-only, initial-only, and mixed regular/initial schedules failed at the first generated batch with ValueError("family must not be empty").

The weight helper still rejects an empty distribution, and the trace projection still includes recorded family statistics. Sampling, adaptation, and the trace-disabled execution path are unchanged.

Regression Coverage

Before the fix, 30 new generation/checkpoint cases reproduce the failure, while eight nonempty-mutation controls pass. All pass with the fix.

The tests compare proposals, including IDs and order, RNG snapshots, and other execution state after each ask/tell over four generations. They cover adaptation and shuffling on/off, batch sizes 1 and 8, checkpoint continuation, and the distinct contracts of strict weight queries and empty sampling.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-26T05:35:07.477587Z e7e8a07 PR opened
ℹ️ About Codex in GitHub

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

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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

@isty2e
isty2e merged commit 07c0e84 into main Sep 26, 2026
8 checks passed
@isty2e
isty2e deleted the fix/csa-empty-mutation-trace branch September 26, 2026 05:38
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