Conversation
- Implement fallback stack mechanism to store viable paths truncated from the main beam when they meet minimum score threshold - Add backtracking logic that pops highest-scoring entries from fallback stack when main beam exhausts without sufficient results - Introduce SearchState parameter for Pilot to handle backtrack guidance with new guide_backtrack method - Add max_backtracks and fallback_score_ratio configuration options to control backtracking behavior - Include comprehensive unit tests for fallback stack operations and backtracking functionality - Update NavigationDecision enum to track backtrack events in traces - Modify beam search to split candidates between main beam and fallback stack during each iteration
- move extract_keywords import from search to scoring module - create new scoring module with BM25 utilities - rename pilot_scorer.rs to decision_scorer.rs and relocate to pilot module - rename scorer.rs to pilot/scorer.rs - update all imports to reference correct module paths - move scoring related utilities to dedicated scoring module - separate search algorithms from scoring logic in search module
Add optional per-step reasoning tracking throughout the search pipeline to provide better context for navigation decisions. This includes: - Extend build_path_section() to show enhanced navigation history with step-by-step reasoning when available, falling back to original breadcrumb format otherwise - Introduce ScoredCandidate struct with optional reasoning field and new score_candidates_detailed() function that preserves reasoning from the Pilot for each candidate - Add step_reasons field to SearchState to track reasoning history through the search process - Update beam search algorithm to capture and propagate reasoning for each navigation step, including backtracking scenarios - Modify greedy and MCTS search implementations to support reasoning parameters while maintaining backward compatibility - Enhance SearchPath struct with step_reasons vector to maintain per-step reasoning history throughout multi-path algorithms
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.