Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation of .universum.py #630

Open
i-keliukh opened this issue Jun 17, 2021 · 0 comments
Open

Validation of .universum.py #630

i-keliukh opened this issue Jun 17, 2021 · 0 comments
Assignees
Labels
component: configuration Project configuration, filtering of configs, parsing and processing of configs inside Universum feature

Comments

@i-keliukh
Copy link
Contributor

The project steps defined in the config file (.universum.py by default) must be validated before use. Specifically, each field of each step must be checked for proper runtime type, valid values, etc.

The check should be implemented in configuration_support module and reused in the launcher module. This would allow end user to perform the sanity check on their side even before it is passed to the launcher. It is also a good place, because it already contains documentation and type declarations for keys.

As a phase two, the configs file must be processed in a separate interpreter instance, spawned with subprocess. This will isolate main universum instance from the programming errors within the config file.

@i-keliukh i-keliukh added the component: configuration Project configuration, filtering of configs, parsing and processing of configs inside Universum label Jun 17, 2021
@i-keliukh i-keliukh assigned o-andrieiev and unassigned k-dovgan Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: configuration Project configuration, filtering of configs, parsing and processing of configs inside Universum feature
Projects
None yet
Development

No branches or pull requests

3 participants