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
ResidualVisitor.visit_not_starts_with appears to always return AlwaysFalse() for partitioned residuals because it applies Python not to the AlwaysTrue() / AlwaysFalse() object returned by visit_starts_with.
StartsWith("x", "a") on identity partition "aa" -> AlwaysTrue()
NotStartsWith("x", "a") on identity partition "aa" -> AlwaysFalse()
NotStartsWith("x", "a") on identity partition "bb" -> AlwaysFalse() # expected AlwaysTrue()
Root cause is ResidualVisitor.visit_not_starts_with: it applies Python not to an AlwaysTrue() / AlwaysFalse() expression object, and both objects are truthy.
Activity
kevinjqliu commentedon Jun 13, 2026
Verified against the current worktree.
Root cause is
ResidualVisitor.visit_not_starts_with: it applies Pythonnotto anAlwaysTrue()/AlwaysFalse()expression object, and both objects are truthy.Fix NotStartsWith residual evaluation to return correct result (apach…