How canimus/cuallee works
Main Components and Architecture
a) Core Engine Layer:
• Central Check class (core validation logic)
• Rule Engine (validation rules implementation)
• Control System (high-level validation controls)
b) DataFrame API Adapters:
• PySpark Adapter
• Snowpark Adapter
• Pandas Adapter
• DuckDB Adapter
• BigQuery Adapter
• Polars Adapter
• Daft Adapter
c) Specialized Modules:
• ISO Standards Module
• Bio Module
• Cloud Integration Module
• Report Generation Module
Component Relationships
a) Data Flow:
• Input DataFrames → DataFrame Adapters → Core Engine → Validation Results
b) Integration Points:
• Connections between Core Engine and each DataFrame Adapter
• How specialized modules connect to the core engine
Architectural Patterns
a) Adapter Pattern:
• How each DataFrame API is adapted to work with the core engine
b) Strategy Pattern:
• How different validation strategies are implemented
• Relationship between checks and rules
Implementation Details
Technical elements:
a) Validation Components:
• Check Level (WARNING, ERROR)
• Rule Implementation
• Validation Pipeline
• Results Processing
b) Support Systems:
• Configuration Management
• Error Handling
• Reporting System
┌─────────────────────────────────────────────────────────┐
• Client Applications │
• ┤
• DataFrame Adapters │
• ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• PySpark │ │ Pandas │ │ DuckDB │ │ Others │ │
• ┘ └─────────┘ └─────────┘ └─────────┘ │
• ┤
• Core Engine │
• ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• Check │ │ Rule │ │ Control │ │ Utils │ │
• ┘ └─────────┘ └─────────┘ └─────────┘ │
• ┤
• Specialized Modules │
• ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• ISO │ │ Bio │ │ Cloud │ │ Report │ │
• ┘ └─────────┘ └─────────┘ └─────────┘ │
• ┘