Skip to content

Refactor retrieval graph expansion and enhance scoring logic - #22

Merged
Aaryanverma merged 1 commit into
mainfrom
bug_fixes
Sep 6, 2026
Merged

Aaryanverma merged 1 commit into
mainfrom
bug_fixes

Conversation

@Aaryanverma

Copy link
Copy Markdown
Owner
  • Updated _expand_graph to incorporate query relevance in scoring, ensuring that nodes are scored based on both proximity and content relevance.
  • Improved handling of already expanded nodes to prevent redundant processing and ensure the best score is retained across multiple paths.
  • Added tests for the new scoring logic to validate that distant but relevant neighbors are not suppressed and that shared neighbors receive the maximum score regardless of visit order.
  • Introduced a new llms.txt file for documentation on the Gray Box system, detailing installation, operational behavior, and configuration.
  • Refactored various test files to streamline imports and improve clarity, including tests for interactive input handling, curation, history tracking, and storage.

- Updated `_expand_graph` to incorporate query relevance in scoring, ensuring that nodes are scored based on both proximity and content relevance.
- Improved handling of already expanded nodes to prevent redundant processing and ensure the best score is retained across multiple paths.
- Added tests for the new scoring logic to validate that distant but relevant neighbors are not suppressed and that shared neighbors receive the maximum score regardless of visit order.
- Introduced a new `llms.txt` file for documentation on the Gray Box system, detailing installation, operational behavior, and configuration.
- Refactored various test files to streamline imports and improve clarity, including tests for interactive input handling, curation, history tracking, and storage.
@Aaryanverma
Aaryanverma merged commit 5f26301 into main Sep 6, 2026
7 checks passed
@Aaryanverma
Aaryanverma deleted the bug_fixes branch September 15, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant