BUGGY / FIX STRUCTURE
One token. Different behavior.
- cright[-right.shape[0]:, -right.shape[1]:] = right + cright[-right.shape[0]:, -right.shape[1]:] = 1
Historical fix removed + historical buggy AST reintroduced at separable.py:245.
EXECUTABLE REPOSITORY MEMORY
RepoImmune turns resolved bugs into code-native evidence that blocks their return.
REAL HISTORY · ASTROPY #12907
A nested matrix on the right of & was overwritten with ones. The merged fix preserves its structure and adds four regression configurations.
Select evidence nodes to inspect their role.
BUGGY / FIX STRUCTURE
- cright[-right.shape[0]:, -right.shape[1]:] = right + cright[-right.shape[0]:, -right.shape[1]:] = 1
Historical fix removed + historical buggy AST reintroduced at separable.py:245.
FILE / SYMBOL HOTSPOT
Heat is evidence density, not an opaque risk score.
REGRESSION TEST EVIDENCE
REGRESSION CAPSULE
A dependency-free surrogate isolates the exact matrix-preservation behavior. It does not pretend to reproduce the full upstream environment.
CONFIDENCE & LIMITS
0.97 verified
Merged fix, explicit issue, new tests, SWE-bench Verified metadata and local surrogate agree.
Known limitation
The browser demo replays the dependency-free surrogate. Full Astropy execution is externally reported.