cursus.validation.alignment.validators¶
Validators Module
This module contains all validation logic and rules for the alignment validation system. Validators implement specific validation algorithms and rule sets for different aspects of component alignment.
Components: - contract_spec_validator.py: Contract and specification alignment validation - dependency_classifier.py: Dependency classification and categorization - dependency_validator.py: Dependency relationship validation - property_path_validator.py: Property path validation and verification - script_contract_validator.py: Script and contract alignment validation - testability_validator.py: Testability pattern validation
Validation Features: - Rule-based validation logic - Configurable validation severity levels - Detailed error reporting with recommendations - Pattern-based validation algorithms - Cross-component relationship validation
- class DependencyValidator(validation_config=None)[source]¶
Bases:
objectValidates dependencies between step specifications.
Features: - Enhanced dependency resolution with compatibility scoring - Circular dependency detection - Data type consistency validation - Integration with production registry for canonical name mapping
- get_dependency_resolution_report(all_specs)[source]¶
Generate detailed dependency resolution report using production resolver.
- validate_circular_dependencies(specification, all_specs, spec_name)[source]¶
Validate that no circular dependencies exist.
- validate_dependency_data_types(specification, all_specs, spec_name)[source]¶
Validate data type consistency across dependency chains.
- class SageMakerPropertyPathValidator[source]¶
Bases:
objectValidates SageMaker step property paths against official documentation.
This validator ensures that property paths used in step specifications are valid for the specific SageMaker step type, preventing runtime errors in pipeline execution.
- get_step_type_documentation(step_type, node_type='')[source]¶
Get documentation information for a specific step type.
Modules
Dependency Validator |
|
SageMaker Property Path Validator |
|
B3 — Registry-Binding Validator (FZ 31e1d3g3 Phase D, the reframed Level-4). |