Found live during an agent benchmark run on the xarray repo: after editing only where in xarray/core/computation.py, sem diff reported 4 spurious polyval [modified] entries.
polyval has multiple @overload stub definitions adjacent to the real implementation; a pure line-shift edit above them apparently makes the entity matcher see the stubs as modified (likely same-name entities disambiguated by position, so a shift reassigns identity).
Expected: line-shift-only changes to overload stubs produce no entity-level diff entries — same-name same-parent entities should match by structural hash / order, not absolute position.
Found live during an agent benchmark run on the xarray repo: after editing only
whereinxarray/core/computation.py,sem diffreported 4 spuriouspolyval [modified]entries.polyvalhas multiple@overloadstub definitions adjacent to the real implementation; a pure line-shift edit above them apparently makes the entity matcher see the stubs as modified (likely same-name entities disambiguated by position, so a shift reassigns identity).Expected: line-shift-only changes to overload stubs produce no entity-level diff entries — same-name same-parent entities should match by structural hash / order, not absolute position.