Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Measure recall under filters, with and without iterative index scans

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
83/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
postgresql, python
Lĩnh vực
databases, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
1 giờ 35 phút
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ahmad-codex/shrinkvec

Tất cả issue của ahmad-codex/shrinkvec

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.