- Add validation framework (config, model, results, study validators) - Add Claude Code skills (create-study, run-optimization, generate-report, troubleshoot, analyze-model) - Add Atomizer Dashboard (React frontend + FastAPI backend) - Reorganize docs into structured directories (00-09) - Add neural surrogate modules and training infrastructure - Add multi-objective optimization support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
75 lines
1.6 KiB
Python
75 lines
1.6 KiB
Python
"""
|
|
Atomizer Validators
|
|
==================
|
|
|
|
Validation modules for ensuring correct configurations, model setups,
|
|
and optimization results.
|
|
|
|
Available validators:
|
|
- config_validator: Validate optimization_config.json files
|
|
- model_validator: Validate NX model files and simulation setup
|
|
- results_validator: Validate optimization results in study.db
|
|
- study_validator: Complete study health check (combines all validators)
|
|
"""
|
|
|
|
from .config_validator import (
|
|
validate_config,
|
|
validate_config_file,
|
|
ValidationResult,
|
|
ConfigError,
|
|
ConfigWarning
|
|
)
|
|
|
|
from .model_validator import (
|
|
validate_model,
|
|
validate_model_files,
|
|
validate_study_model,
|
|
ModelValidationResult
|
|
)
|
|
|
|
from .results_validator import (
|
|
validate_results,
|
|
validate_study_results,
|
|
get_pareto_summary,
|
|
ResultsValidationResult,
|
|
ResultsError,
|
|
ResultsWarning
|
|
)
|
|
|
|
from .study_validator import (
|
|
validate_study,
|
|
list_studies,
|
|
quick_check,
|
|
get_study_health,
|
|
StudyValidationResult,
|
|
StudyStatus
|
|
)
|
|
|
|
__all__ = [
|
|
# Config validator
|
|
'validate_config',
|
|
'validate_config_file',
|
|
'ValidationResult',
|
|
'ConfigError',
|
|
'ConfigWarning',
|
|
# Model validator
|
|
'validate_model',
|
|
'validate_model_files',
|
|
'validate_study_model',
|
|
'ModelValidationResult',
|
|
# Results validator
|
|
'validate_results',
|
|
'validate_study_results',
|
|
'get_pareto_summary',
|
|
'ResultsValidationResult',
|
|
'ResultsError',
|
|
'ResultsWarning',
|
|
# Study validator
|
|
'validate_study',
|
|
'list_studies',
|
|
'quick_check',
|
|
'get_study_health',
|
|
'StudyValidationResult',
|
|
'StudyStatus'
|
|
]
|