Crate ricecoder_research

Crate ricecoder_research 

Source
Expand description

RiceCoder Research System

Provides project analysis and context gathering capabilities, enabling ricecoder to understand project structure, dependencies, patterns, and conventions before generating code.

Re-exports§

pub use architectural_intent::ArchitecturalIntentTracker;
pub use architectural_patterns::ArchitecturalPatternDetector;
pub use cache_manager::CacheManager;
pub use cache_manager::CacheStatistics;
pub use cache_stats::CacheOperationTimer;
pub use cache_stats::CacheStatsTracker;
pub use cache_stats::DetailedCacheStats;
pub use change_detector::ChangeDetection;
pub use change_detector::ChangeDetector;
pub use codebase_scanner::CodebaseScanner;
pub use codebase_scanner::FileMetadata;
pub use codebase_scanner::ScanResult;
pub use coding_patterns::CodingPatternDetector;
pub use context_builder::ContextBuilder;
pub use context_optimizer::ContextOptimizer;
pub use context_provider::ContextProvider;
pub use dependency_analyzer::DartParser;
pub use dependency_analyzer::DependencyAnalyzer;
pub use dependency_analyzer::DependencyParser;
pub use dependency_analyzer::DotNetParser;
pub use dependency_analyzer::GoParser;
pub use dependency_analyzer::JavaParser;
pub use dependency_analyzer::KotlinParser;
pub use dependency_analyzer::NodeJsParser;
pub use dependency_analyzer::PhpParser;
pub use dependency_analyzer::PythonParser;
pub use dependency_analyzer::RubyParser;
pub use dependency_analyzer::RustParser;
pub use dependency_analyzer::SwiftParser;
pub use dependency_analyzer::VersionConflict;
pub use dependency_analyzer::VersionUpdate;
pub use error::ResearchError;
pub use manager::ResearchManager;
pub use models::ArchitecturalDecision;
pub use models::ArchitecturalIntent;
pub use models::ArchitecturalStyle;
pub use models::CaseStyle;
pub use models::CodeContext;
pub use models::DetectedPattern;
pub use models::DocFormat;
pub use models::DocumentationStyle;
pub use models::FileContext;
pub use models::FormattingStyle;
pub use models::ImportGroup;
pub use models::ImportOrganization;
pub use models::IndentType;
pub use models::NamingConventions;
pub use models::PatternCategory;
pub use models::ProjectContext;
pub use models::ProjectStructure;
pub use models::ProjectType;
pub use models::ReferenceKind;
pub use models::SearchResult;
pub use models::StandardsProfile;
pub use models::Symbol;
pub use models::SymbolKind;
pub use models::SymbolReference;
pub use pattern_detector::PatternDetector;
pub use project_analyzer::ProjectAnalyzer;
pub use reference_tracker::ReferenceTracker;
pub use reference_tracker::ReferenceTrackingResult;
pub use relevance_scorer::RelevanceScorer;
pub use relevance_scorer::ScoringWeights;
pub use search_engine::SearchEngine;
pub use search_engine::SearchOptions;
pub use search_engine::SearchStatistics;
pub use semantic_index::SemanticIndex;
pub use standards_detector::StandardsDetector;
pub use symbol_extractor::SymbolExtractor;

Modules§

architectural_intent
Architectural intent tracking and analysis
architectural_patterns
Architectural pattern detection
cache_manager
Cache management for research analysis results
cache_stats
Cache statistics and performance metrics
change_detector
File change detection for cache invalidation
codebase_scanner
Codebase scanning and file discovery
coding_patterns
Coding pattern detection
context_builder
Context builder for selecting and prioritizing relevant files for AI providers
context_optimizer
Context optimization for fitting large files within token budgets
context_provider
Automatic context provision for AI providers
dependency_analyzer
Dependency analysis for multiple programming languages
error
Error types for the research system
manager
Research manager - central coordinator for analysis operations
models
Data models for the research system
pattern_detector
Pattern detection for identifying coding and architectural patterns in codebases
project_analyzer
Project analyzer for detecting project type and structure
reference_tracker
Reference tracking across source files
relevance_scorer
Relevance scoring for files based on semantic similarity to queries
search_engine
Search engine for semantic and full-text search
semantic_index
Semantic index for fast symbol lookup and search
standards_detector
Standards detector for extracting naming conventions and coding standards
symbol_extractor
Symbol extraction from source code using tree-sitter