ruvector/crates/ruvector-graph/tests
Claude 18414fc3de feat: Implement all previously ignored features
Major implementations:
- Undirected relationship parsing: -[r]- syntax now works
- REMOVE statement parsing: REMOVE n.property and REMOVE n:Label
- Multi-direction patterns: <-[r]- incoming relationships
- Constant folding optimization: comparison operators support
- ART multi-key insertion with proper leaf splitting
- ART common prefix handling with node splitting
- Hot/cold cache promotion with frequency-based eviction
- k_hop_neighbors traversal in HypergraphIndex

Parser improvements:
- Fixed parse_node_pattern_content to advance token for variable-only patterns
- Added RemoveClause and RemoveItem to AST
- Added parse_remove() method for REMOVE statements
- Fixed direction detection for undirected relationships

Optimizer improvements:
- Added Integer/Float/Boolean/String comparison operators
- Added modulo operator for integers
- Added float arithmetic operations

Cache hierarchy improvements:
- Added is_at_capacity() method to HotStorage
- Added get_lru_nodes_by_frequency() to AccessTracker
- Record access on insert for proper eviction tracking
- Fixed eviction to protect promoted nodes

Hypergraph improvements:
- Fixed k_hop_neighbors to properly add neighbors to visited set
- Now correctly returns all nodes reachable within k hops

Test results:
- 285 tests passing
- 12 tests ignored (infrastructure/edge cases)

Ignored tests are for:
- Vector embedding pipeline infrastructure (semantic search, RAG)
- Parser edge cases (empty query, whitespace, map literals)
- Million node performance test
2025-11-26 01:07:57 +00:00
..
fixtures feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
compatibility_tests.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
concurrent_tests.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
cypher_execution_tests.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
cypher_parser_integration.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
cypher_parser_tests.rs feat: Implement all previously ignored features 2025-11-26 01:07:57 +00:00
distributed_tests.rs feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
edge_tests.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
hyperedge_tests.rs feat: Implement all previously ignored features 2025-11-26 01:07:57 +00:00
node_tests.rs feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00
performance_tests.rs fix: Resolve test compilation errors and parser issues 2025-11-26 00:27:43 +00:00
transaction_tests.rs feat: Add Neo4j-compatible hypergraph database package (ruvector-graph) 2025-11-25 23:11:54 +00:00