ARK-Builders / arklib

Core of the programs in ARK family
MIT License
1 stars 10 forks source link

Ensure that `update_all` and `update_one` are consistent #41

Closed kirillt closed 2 weeks ago

kirillt commented 1 year ago

Then, we want to verify that:

mberry commented 11 months ago

The issue I see arising with update_one is that it takes a new path and old id, but also uses the path as a key with self.path2id[path] before updating the index. Think some of the functions need to be run in a different order, like the collision check at the end before returning