SPTAGTest KDTReconstructTest failure: Assertion `quantizer' failed.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5k
- Forks
- 622
- Avg merge
- 8h 37m
- Merged PRs (30d)
- 5
Description
Describe the bug
The KDTReconstructTest test fails due to an assert.
To Reproduce
Steps to reproduce the behavior:
- Build SPTAG
- Run
SPTAGTest - See error
** To Fix**
Copy commit 1e8797846bad538c2b609c0da363e7156fed2f97 on the try-dispatcher branch by @PhilipBAdams from May 2022 to the main branch.
Expected behavior
The test should succeed.
Screenshots
SPTAGTest: ./Test/src/ReconstructIndexSimilarityTest.cpp:169: void GenerateReconstructData(std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::MetadataSet>&, std::shared_ptr<SPTAG::VectorSet>&, std::shared_ptr<SPTAG::VectorSet>&, SPTAG::DistCalcMethod, int, std::shared_ptr<SPTAG::COMMON::IQuantizer>&) [with R = float]: Assertion `quantizer' failed.
Desktop:
- OS: Debian
- Browser None
- Version 12 (bookworm)
Additional context
Add any other context about the problem here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Test/src/ReconstructIndexSimilarityTest.cpp at line 169 and run SPTAGTest after building SPTAG to reproduce the assertion. Compare the main branch with commit 1e8797846bad538c2b609c0da363e7156fed2f97 from the try-dispatcher branch. Done means KDTReconstructTest succeeds without the quantizer assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100