Crate scribe_selection

Crate scribe_selection 

Source
Expand description

§Scribe Selection

Intelligent code selection and context extraction capabilities for the Scribe library. This crate provides advanced algorithms for selecting relevant code sections based on semantic understanding, dependency analysis, and contextual relevance.

Re-exports§

pub use selector::CodeSelector;
pub use selector::SelectionCriteria;
pub use selector::SelectionResult;
pub use context::ContextExtractor;
pub use context::ContextOptions;
pub use context::CodeContext;
pub use relevance::RelevanceScorer;
pub use relevance::RelevanceMetrics;
pub use bundler::CodeBundler;
pub use bundler::BundleOptions;
pub use bundler::CodeBundle;
pub use quota::QuotaManager;
pub use quota::FileCategory;
pub use quota::CategoryQuota;
pub use quota::QuotaAllocation;
pub use quota::QuotaScanResult;
pub use quota::create_quota_manager;
pub use demotion::DemotionEngine;
pub use demotion::FidelityMode;
pub use demotion::DemotionResult;
pub use demotion::ChunkInfo;
pub use demotion::CodeChunker;
pub use demotion::SignatureExtractor;
pub use two_pass::TwoPassSelector;
pub use two_pass::TwoPassConfig;
pub use two_pass::TwoPassResult;
pub use two_pass::CoverageGap;
pub use two_pass::SelectionMetrics;
pub use two_pass::SelectionRule;
pub use two_pass::SelectionContext;
pub use two_pass::FileInfo;
pub use bandit_router::BanditRouter;
pub use bandit_router::BanditConfig;
pub use bandit_router::SelectionStrategy;
pub use bandit_router::RoutingDecision;
pub use bandit_router::PerformanceFeedback;
pub use bandit_router::BanditStatistics;
pub use bandit_router::BanditState;
pub use ast_parser::AstParser;
pub use ast_parser::AstLanguage;
pub use ast_parser::AstChunk;
pub use ast_parser::AstSignature;

Modules§

ast_parser
Tree-sitter based AST parsing for accurate code analysis
bandit_router
Bandit Router System for V5 Variant
bundler
Code bundler module - stub implementation
context
Context extraction module - stub implementation
demotion
Multi-Fidelity Demotion System for V4 variant
optimizer
Selection optimizer module - stub implementation
quota
relevance
Relevance scoring module - stub implementation
selector
Code selector module - stub implementation This module provides the CodeSelector for intelligent file selection
two_pass
Two-Pass Selection System for V5 Variant

Structs§

SelectionEngine
Main entry point for intelligent code selection