There is at least one mismatch that I'm noticing right now. Specifically, the functionality specified in the docstring of Engine doesn't match what happens.
There are four different modes of the engine:
. . .
2) No distance - The distance argument is None.
In this case only the vector filters are applied to
the bucket contents and the result is a list of
filtered (vector, data) tuples.
There is at least one mismatch that I'm noticing right now. Specifically, the functionality specified in the docstring of
Engine
doesn't match what happens.For example, in
engine.py
, you say:But you're specifically replacing all incoming
None
arguments with default values:Then, in
Engine.neighbors
, you check forself.distance
being None and execute based on that: