stemedb/crates/stemedb-query/tests/battery_pre_sentinel.rs
jordan 137a588ed0 feat: Concept hierarchy (Phase 5D) - ConceptPath, source schemes, AliasStore
Implements hierarchical subject identifiers with scheme-based source tier inference:

- ConceptPath type with parse/wire_format, leaf/parent, prefix matching
- SourceScheme registry mapping schemes to default SourceClass tiers:
  - rfc://, fda://, ietf:// → Regulatory (Tier 0)
  - peer://, pubmed:// → PeerReviewed (Tier 1)
  - code://, wiki:// → Expert (Tier 3)
  - blog://, anon:// → Anecdotal (Tier 5)
- AliasStore for cross-scheme entity resolution (bidirectional indexing)
- API endpoints for concept operations
- Battery tests 8, 9 & 10 for concepts, aliases, and advanced signatures
- Go SDK updates for concept types and signing

Completes Phase 5, advancing to Phase 6 (Distributed Writes).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 17:44:54 -07:00

18 lines
940 B
Rust

//! Battery Tests (Pre-Sentinel).
//!
//! All battery tests have been modularized and split into separate files.
//! This file serves as the entry point that references the battery module.
//!
//! Each battery module is now under 500 lines and focuses on a specific area:
//! - battery1_semaglutide: The core Semaglutide scenario from what-is-episteme.md
//! - battery2_jwt_conflict: JWT escalation and layered consensus tests
//! - battery3_decay_math: Confidence decay precision tests
//! - battery4_conflict_score: Variance and entropy conflict score tests
//! - battery5_prefix_scan: ConceptPath hierarchical prefix scanning
//! - battery6_signature_tamper: Signature verification and tamper detection
//! - battery7_materialized_view: MV consistency and staleness tests
//! - battery8_concept_path: ConceptPath parsing and source class inference
//! - battery9_alias_store: AliasStore resolution and cross-scheme queries
mod battery;