mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-27 00:25:10 +00:00
Complete implementation of the Neural DAG Learning system combining RuVector vector database with QuDAG quantum-resistant consensus. Core Features: - QueryDag structure with HashMap-based adjacency and cycle detection - 18+ operator types (SeqScan, HnswScan, HashJoin, NestedLoop, etc.) - Topological, DFS, and BFS traversal iterators - JSON/binary serialization Attention Mechanisms (7 total): - Basic: Topological, CausalCone, CriticalPath, MinCutGated - Advanced: HierarchicalLorentz, ParallelBranch, TemporalBTSP - UCB bandit selector for automatic mechanism selection - LRU attention cache with 10k entry default SONA (Self-Optimizing Neural Architecture): - MicroLoRA adaptation (<100μs, rank-2) - TrajectoryBuffer with lock-free ArrayQueue (10k capacity) - ReasoningBank with K-means++ clustering - EWC++ for catastrophic forgetting prevention (λ=5000) MinCut Optimization: - O(n^0.12) subpolynomial amortized updates - Local k-cut approximation for sublinear bottleneck detection - Criticality-based flow computation - Redundancy analysis and repair suggestions Self-Healing System: - Z-score anomaly detection with adaptive thresholds - Index health monitoring (HNSW/IVFFlat metrics) - Learning drift detection with ADWIN algorithm - Repair strategies: reindex, parameter tuning, learning reset QuDAG Integration: - ML-KEM-768 quantum-resistant encryption - ML-DSA-65 quantum-resistant signatures - Differential privacy (Laplace/Gaussian mechanisms) - rUv token staking, rewards (5% APY), governance (67% threshold) PostgreSQL Extension: - GUC variables for configuration - Planner/executor hooks for query interception - Background worker for continuous learning - 50+ SQL functions for all features Testing: - 46+ integration tests across all modules - 11 benchmark groups for performance validation - Test fixtures and data generators - Mock QuDAG client for isolated testing Documentation: - Comprehensive README with architecture overview - 5 example programs demonstrating all features - Implementation notes for attention mechanisms Total: ~12,000+ lines of new Rust code |
||
|---|---|---|
| .. | ||
| micro-hnsw-wasm | ||
| profiling | ||
| ruvector-attention | ||
| ruvector-attention-cli | ||
| ruvector-attention-node | ||
| ruvector-attention-wasm | ||
| ruvector-bench | ||
| ruvector-cli | ||
| ruvector-cluster | ||
| ruvector-collections | ||
| ruvector-core | ||
| ruvector-dag | ||
| ruvector-filter | ||
| ruvector-gnn | ||
| ruvector-gnn-node | ||
| ruvector-gnn-wasm | ||
| ruvector-graph | ||
| ruvector-graph-node | ||
| ruvector-graph-wasm | ||
| ruvector-metrics | ||
| ruvector-mincut | ||
| ruvector-mincut-gated-transformer | ||
| ruvector-mincut-gated-transformer-wasm | ||
| ruvector-mincut-node | ||
| ruvector-mincut-wasm | ||
| ruvector-nervous-system | ||
| ruvector-node | ||
| ruvector-postgres | ||
| ruvector-raft | ||
| ruvector-replication | ||
| ruvector-router-cli | ||
| ruvector-router-core | ||
| ruvector-router-ffi | ||
| ruvector-router-wasm | ||
| ruvector-server | ||
| ruvector-snapshot | ||
| ruvector-tiny-dancer-core | ||
| ruvector-tiny-dancer-node | ||
| ruvector-tiny-dancer-wasm | ||
| ruvector-wasm | ||
| rvlite | ||
| sona | ||