Skip to content

Fix balanced CCR session packing - #101

Merged
Babak (babaknaderi) merged 1 commit into
masterfrom
fix/balanced-block-ccr-clean
Oct 20, 2026
Merged

Babak (babaknaderi) merged 1 commit into
masterfrom
fix/balanced-block-ccr-clean

Conversation

@babaknaderi

Copy link
Copy Markdown
Contributor

No description provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Static review identified no blocking issues; runtime tests were not executed.

No open issues 🎉

What changed in this PR

Fixes balanced CCR session generation by preserving packed blocks and their reference pairs.

Changes:

  • Removes reshuffling that overwrote balanced sessions and modernizes DataFrame construction.
  • Adds regression tests for balanced packing and random reference pairing.
  • Disables Git text normalization for Python files under src.
File Description
tests/​test_create_input.py Tests balanced CCR blocks and reference pairing.
src/​create_input.py Preserves packed sessions and fixes block-key fallback.
.gitattributes Preserves stored line endings for source Python files.

Review effort: Balanced

@babaknaderi
Babak (babaknaderi) merged commit ac21132 into master Oct 20, 2026
8 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.

3 participants