Skip to content

Make ConceptAbstractSyntaxTreeBuilder token repair deterministic - #608

Merged
Demirrr merged 1 commit into
developfrom
worktree-fix-concept-ast-randomness
Aug 6, 2026
Merged

Demirrr merged 1 commit into
developfrom
worktree-fix-concept-ast-randomness

Conversation

@Demirrr

@Demirrr Demirrr commented Aug 6, 2026

Copy link
Copy Markdown
Member

_fix_mid_tokens_errors/_postprocess_tail_fix/_enforce repaired malformed token sequences via random.choice(...), making parser output non-deterministic across runs on identical input. Replace all call sites with a deterministic (sorted-by-string) tie-break, and prune the fixed item from Improvements.md §1 with a corresponding CHANGELOG.md entry.

_fix_mid_tokens_errors/_postprocess_tail_fix/_enforce repaired malformed
token sequences via random.choice(...), making parser output
non-deterministic across runs on identical input. Replace all call sites
with a deterministic (sorted-by-string) tie-break, and prune the fixed
item from Improvements.md §1 with a corresponding CHANGELOG.md entry.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hw4KTF5vJRfKqdKnMDfK5M
@Demirrr
Demirrr merged commit 14ed0e7 into develop Aug 6, 2026
2 checks passed
@Demirrr
Demirrr deleted the worktree-fix-concept-ast-randomness branch August 6, 2026 13:53
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