selfsweep

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command selfsweep is a label-free ranking radar for ANY indexed repo: every documented symbol must be findable by its own docstring. No hand-authored cases, so it runs at scale on repos we never wrote eval labels for (prometheus, cockroach, a beta user's private code) and its labels carry the repo authors' vocabulary, not the eval author's.

Two modes per case, scored side by side:

  • verbatim: query = first docstring sentence as written
  • paraphrase: same sentence with the leading symbol name stripped (Go doc convention "Foo returns..." otherwise hands FTS the answer)

Docstrings shared by more than one symbol are skipped (interface/impl pairs would be unfair misses under exact-symbol scoring).

Usage:

selfsweep -bin dist/contextmaxxer.exe -index path/to/.contextmaxxer/index.db [-n 150]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL