Windows graph hop: investigate documented exact-path versus suffix-collision test failure
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Start with tests/test_brain_ask.py::test_expand_1hop_prefers_exact_vault_relative_path_over_suffix_collision and src/sqlite_graph_memory/brain_ask.py at expand_1hop and basename/path resolution. Reproduce on Windows 11 with Python 3.12 using the documented offline install and command; record the commit SHA and full assertion output, or report the fixing revision if it already passes. If a fix is needed, preserve unique folder-qualified fallback resolution and coverage for .md suffixes and single-subfolder layouts; done means focused and offline tests pass on Windows and Unix, and the verified known-failure statement is removed from the README.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The README at 935c2e2 documents tests/test_brain_ask.py::test_expand_1hop_prefers_exact_vault_relative_path_over_suffix_collision failing on Windows 11 / Python 3.12 in the 2026-11-14 offline test run.
The intended contract is small and explicit: given both sub/c.md and other/sub/c.md, a link [[sub/c]] should pick the exact vault-relative target even when the nested suffix match has a higher similarity score. A graph hop to the wrong note changes the evidence returned to the user.
Evidence boundary: the failure is recorded in the current README; it has not been freshly reproduced on Windows in this audit. Do not infer a separator or case-normalization root cause before obtaining the failing assertion. The fixture documents expected [1], not the actual Windows result. This is separate from relative-index/cwd issue #104 and from the temporary-SQLite Windows failure.
Reproduce and scope
On Windows 11 / Python 3.12, with the documented offline development install:
python -m pip install -e '.[lite]' pytest
python -m pytest -q tests/test_brain_ask.py::test_expand_1hop_prefers_exact_vault_relative_path_over_suffix_collision
Start in tests/test_brain_ask.py and src/sqlite_graph_memory/brain_ask.py (expand_1hop, basename/path resolution). Record commit SHA, full assertion output and platform. If current main already passes, report that result and the fixing revision first.
Acceptance
- Confirm the documented Windows failure or establish that it is already fixed, with actual output.
- If needed, make the exact vault-relative path win over suffix collisions without removing fallback resolution for a uniquely matching folder-qualified link.
- Keep coverage for
.mdsuffixes and all-notes-under-one-subfolder layouts. - A regression check is red on the broken implementation and green after the change; no blanket Windows skips or relaxed assertion.
- Focused test and offline suite pass on Windows, and the existing Unix behavior remains covered.
- Remove only this known-failure statement from the README once verified on Windows.
Please comment before starting. This is a bounded bug-fix PR, with no model download or private corpus required. It is marked help wanted rather than promising that cross-platform path resolution is a beginner task.
Prepared with Codex; no fresh Windows reproduction or human review claimed.
- Ngôn ngữ chính
- Python
- Star
- 9
- Fork
- 6
- Merge trung bình
- 13 giờ 8 phút
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tonydzi/sqlite-graph-memory
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
tonydzi/sqlite-graph-memory#133 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
tonydzi/sqlite-graph-memory#131 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
tonydzi/sqlite-graph-memory#132 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
sgm-index on a mistyped or empty folder overwrites the existing index with an empty one and exits 0Đang mởbug good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
tonydzi/sqlite-graph-memory#130 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
tonydzi/sqlite-graph-memory#125 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của tonydzi/sqlite-graph-memory
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
LearningCircuit/local-deep-research#10161 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
chore: contact address [email protected]Có thể đã có người làm @larsrollik đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Gustavo-Galvao-e-Silva/panchi#228 ·
Maintainer thường phản hồi trong vòng 1 ngày