microsoft / microsoft/SPTAG

Encoding issues in output of search

Open
#45 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

Describe the bug
Bad encoding in output of search

To Reproduce
Steps to reproduce the behavior:

  1. Build an index with algorithm BKT using the cli
  2. Build a search using a cli
  3. Open output file of search
  4. Contains bad encoding part way through the file

Expected behavior
Consistent encoding throughout the results

Output
Melanoma:0.680@1807.00273v1.Photorealistic_Style_Transfer_for_Videos.pdf|1.005@^_O�:�^B�>�|1807.00273v1.Photorealistic_Style_Transfer_for_Videos.pdf��?�<:i��v3Y�$��<�n)8^\��=�J^R<J^?�<@hW���~K;LV^A�FOU;�^?

Desktop (please complete the following information):

  • OS:Ubuntu 18.04

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the CLI workflow described: build a BKT index, run a search, and inspect the output file. Trace where the search results are encoded and written, compare the corrupted section with the expected consistent encoding, and verify the complete output remains readable after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.