| from .config import config | |
| from .utils.data_processor import DataProcessor | |
| from .tasks.validation import Validation | |
| class CodingExpert: | |
| def __init__(self): | |
| self.config = config | |
| self.data_processor = DataProcessor() | |
| self.validator = Validation() | |
| def process_data(self, input_data): | |
| """Process coding-related data using the data processor.""" | |
| return self.data_processor.process(input_data) | |
| def validate(self, code): | |
| """Validate code using the validation system.""" | |
| return self.validator.validate(code) | |
| def get_config(self): | |
| """Return the current configuration.""" | |
| return self.config | |