Skip to content

Add Pydantic-based validation for orchestrator configs#44

Merged
thourihan merged 4 commits intomainfrom
feature/orchestrator-config-schema
Nov 7, 2025
Merged

Add Pydantic-based validation for orchestrator configs#44
thourihan merged 4 commits intomainfrom
feature/orchestrator-config-schema

Conversation

@thourihan
Copy link
Copy Markdown
Owner

@thourihan thourihan commented Nov 6, 2025

This MR adds a Pydantic schema (orchestration/config_schema.py) that validates the existing orchestrator YAML up front, ensuring data, models, and selection are present and consistent before training or inference runs. The orchestrator now loads the YAML, runs it through the schema, and hands back a normalized dict so the rest of the code can stay the same. Closes #30 and #40

@thourihan thourihan self-assigned this Nov 6, 2025
@thourihan thourihan marked this pull request as draft November 6, 2025 03:29
@thourihan thourihan added the enhancement New feature or request label Nov 6, 2025
@thourihan thourihan linked an issue Nov 7, 2025 that may be closed by this pull request
@thourihan thourihan marked this pull request as ready for review November 7, 2025 17:26
@thourihan thourihan merged commit 4c60355 into main Nov 7, 2025
2 checks passed
@thourihan thourihan deleted the feature/orchestrator-config-schema branch November 10, 2025 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add schema-based validation for orchestrator configs Add structured validation for orchestrator configs

1 participant