Skip to content

0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 16:25
· 9 commits to main since this release

Changed

  • Outlines, the quick first pass over a large repository, are embedded by granite-embedding-97m-multilingual-r2, about
    three times faster than the main retriever with nearly the same answers (top-1 133 instead of 135 on outlines
    alone); whole sources keep the main retriever, so a fully indexed project is searched exactly as before (168/189).
    A 25,000-function repository becomes fully searchable in about 7 minutes instead of more than 20. s1grep setup
    downloads the new model (about 400 MB more).
  • The judge stops reading candidates once one scores at least 0.9: a third fewer judge runs per search (3.3 instead
    of 5) with the same exam results.

Added

  • When less than half of a project can be searched yet, the search says so plainly, with the time until all of it
    can be searched.
  • The background process writes a line to its log when it stops.

Fixed

  • A search from a folder that holds many projects (a home or workspace folder) no longer takes over the projects
    inside it: within a git repository the project is never a folder above the repository, and outside one it is the
    nearest indexed folder. Before, one search from such a folder made every later search re-read all of it.
  • Outline vectors use the first four lines of each function again, as measured: since 0.2.4 they used two, which
    found the right function first 129 times out of 201 instead of 135 (top-5: 149 instead of 167). Outline vectors are
    recomputed once in the background.

Install

Linux (x86-64, glibc 2.38 or newer):

curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.sh | bash

Pin this version with --version 0.3.0. Already installed? Update in place:

curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.sh | bash

Windows (x86-64), in PowerShell:

irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.ps1 | iex

Update in place:

irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.ps1 | iex