Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Measure recall under filters, with and without iterative index scans

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
83/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
postgresql, python

Direzione di ricerca

Start in src/shrinkvec/pg.py to find the load and index benchmark flow, then read exact.py to see how ground truth is computed. Add synthetic attributes with 50%, 10%, and 1% selectivity, compute exact filtered ground truth, and compare each index with iterative scans enabled and disabled. Done when the report shows recall against selectivity for each index and tests cover the exact filtered ground truth.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: postgres enhancement larger

Approximate indexes lose the most recall when a WHERE clause removes most rows. pgvector 0.8 added iterative index scans (hnsw.iterative_scan) for this.

Where to start: src/shrinkvec/pg.py. Add a synthetic attribute column at load time with a few selectivities (50%, 10%, 1%), compute the filtered ground truth in exact.py, and run each index with and without iterative scans.

Done when: the report has a recall-against-selectivity view per index, and the exact filtered ground truth is tested.

Lingua principale
Python
Stelle
0
Fork
0
Merge medio
1h 35m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ahmad-codex/shrinkvec

Tutte le issue di ahmad-codex/shrinkvec

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.