Enterprise Features: - Hosted mode with remote sync for team pattern aggregation - Community sharing with privacy-preserving anonymization - LLM-based semantic claim extraction with Gemini integration - Pattern learning with promotion to declarative extractors - High-entropy secrets extractor with configurable thresholds - Auth bypass and insecure cookies extractors Module Refactoring: - Split oversized files to comply with 500-line limit - Config split: types/core.rs, types/extractors.rs, types/hosted.rs, etc. - Handlers split: scan.rs, policy.rs, report.rs modules - Extractors split: declarative/, high_entropy_secrets/, insecure_cookies/ - Learning split: store modules with metrics and persistence SDK & Ontology: - stemedb-ontology SDK with fluent builders and StemeDB client - Pharma domain extractors for FDA Orange Book data - Consumer health UAT test infrastructure Code Quality: - Fixed clippy warnings (needless_borrows_for_generic_args) - Added KVStore trait imports where needed - Fixed utoipa path re-exports for OpenAPI docs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
975 B
Rust
24 lines
975 B
Rust
//! Consumer Health UAT Scenarios
|
|
//!
|
|
//! Integration tests that validate the four key consumer health scenarios:
|
|
//! 1. GLP-1 Muscle Loss Contradiction (Skeptic Lens)
|
|
//! 2. Gastroparesis Multi-Source (Source Hierarchy)
|
|
//! 3. Layered Consensus (Per-Tier Positions)
|
|
//! 4. Time Travel Query (as_of Snapshot)
|
|
//!
|
|
//! These tests assume a running stemedb-api instance at the configured URL.
|
|
//! Run with: `STEMEDB_API_URL=http://localhost:18180 cargo test --test consumer_health_uat`
|
|
|
|
// Allow println in tests for UAT progress reporting
|
|
#![allow(clippy::print_stdout)]
|
|
// Allow expect in tests - panicking on setup failures is acceptable
|
|
#![allow(clippy::expect_used)]
|
|
|
|
// Include the modularized test code
|
|
// The #[path] attribute tells Rust where to find the module
|
|
#[path = "consumer_health_uat_lib/mod.rs"]
|
|
mod uat_lib;
|
|
|
|
// Tests in the scenarios module will be automatically discovered by cargo test
|
|
// No need to re-export since the test framework looks at all modules
|