[FEA] Add runtime test for serialization format changes
Nobody has claimed this yet.
- Dominant language
- Cuda
- Stars
- 1k
- Forks
- 251
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 31
Description
We're removing the current static assertion that's being done because the actual struct for the ANN indexes doesn't align completely w/ the serialized data format and this is causing the build to fail with false positives whenever the underlying objects used inside the index are updated.
The next step is to create a pytest that tests a cached version of the serialized format against the current version and provides instructions on how to bump the serialization version number and re-cache.
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 by locating the static assertion for ANN index serialization and the existing pytest setup. Replace the false-positive check with a pytest that compares a cached serialized format against the current version, and document how to bump the serialization version and re-cache when the format intentionally changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100