find importers returns one row per import edge because src/index/store.rs:202-205 selects from_file_id without DISTINCT or ordering. Repeated imports therefore duplicate paths in the public result; for example, a file containing import b twice returns ["a.py", "a.py"] for find importers b.py.
Please make the API return each importing file once and use a stable ordering. This also avoids duplicate edges inflating import counts and makes downstream graph output reproducible.
`find importers` returns one row per import edge because `src/index/store.rs:202-205` selects `from_file_id` without `DISTINCT` or ordering. Repeated imports therefore duplicate paths in the public result; for example, a file containing `import b` twice returns `["a.py", "a.py"]` for `find importers b.py`.
Please make the API return each importing file once and use a stable ordering. This also avoids duplicate edges inflating import counts and makes downstream graph output reproducible.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
find importersreturns one row per import edge becausesrc/index/store.rs:202-205selectsfrom_file_idwithoutDISTINCTor ordering. Repeated imports therefore duplicate paths in the public result; for example, a file containingimport btwice returns["a.py", "a.py"]forfind importers b.py.Please make the API return each importing file once and use a stable ordering. This also avoids duplicate edges inflating import counts and makes downstream graph output reproducible.
Fixed in commit
4338e28.