@paninid it was making some confident assertion about the behavior of some of my python code that i'm porting, and at first it turns out that it just used the wrong long numbers when it used sed to print the lines of the method so it only saw half of it, but then it told me that the method was never used because....
- the name of the class is
Epoch - usually when it's assigned as a local variable it is named
epoch - the method it was searching for uses was a python dunder method,
__sub__, which overloads the subtraction operator
so it had grepped for epoch - 1, not found anything, and concluded the method was unused.
meanwhile, i am over here with a "normal IDE" with "normal language tooling" where i can "deterministically find all the places this method is used" being like "what in the world". important to note that it has a python LSP tool and instructions to use it rather than grepping are injected into the context window at every launch but it just fails to use it when a human being would simply never fail to use the "find usages" button and accidentally grep instead