cursus.validation.alignment.core.spec_dependency_alignment¶
Specification ↔ Dependencies Alignment Tester
Validates alignment between step specifications and their dependency declarations. Ensures dependency chains are consistent and resolvable.
- class SpecificationDependencyAlignmentTester(validation_config=None, workspace_dirs=None)[source]¶
Bases:
objectTests alignment between step specifications and their dependencies.
Validates: - Dependency chains are consistent - All dependencies can be resolved - No circular dependencies exist - Data types match across dependency chains
- validate_all_specifications(target_scripts=None)[source]¶
Validate alignment for all specifications or specified target scripts.
This method uses StepCatalog’s bulk loading for efficiency.