You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(roundtrip): loop-carried mutation is not preserved by atomizer #157
The roundtrip corpus still fails for mutation-heavy loops with accumulator side effects. Current evidence: tests slash test_roundtrip_python_corpus.py marks loop_accumulation as an expected failure, and functions like flatten_list do not preserve behavior after Python to NLS to Python conversion. Impact: repo-scale scans now pass structurally, but behavioral parity still breaks for common accumulator patterns. Desired outcome: LOGIC extraction should preserve loop body side effects well enough to re-emit equivalent Python, or explicitly mark the pattern unsupported.
Resolved in commit 0b2ecd8. FOR each loop steps now re-emit executable loop bodies, including accumulator mutation patterns such as result.extend(...) and augmented assignments, and the behavioral corpus now passes for flatten_list.
Activity
Mnehmos commentedon Apr 2, 2026
Resolved in commit 0b2ecd8. FOR each loop steps now re-emit executable loop bodies, including accumulator mutation patterns such as result.extend(...) and augmented assignments, and the behavioral corpus now passes for flatten_list.