automl / automl/ConfigSpace

Configuration.check_valid_configuration() missleading documentation

Open
#399 7 comments 0 reactions 1 assignee Claimed by @thijssnelleman View on GitHub
bug
Dominant language
Python
Stars
225
Forks
94
PR merge metrics
No merged PRs in 30d

Description

The function `Configuration.check_valid_configuration()` is documented to check whether a config is valid. However, it is not well specified when a configuration is valid.
Internally, the function calls:
```python
from ConfigSpace.util import check_configuration

check_configuration(
self.config_space,
self._vector,
allow_inactive_with_values=self.allow_inactive_with_values,
)
```

However, the function `check_configuration` does not appear to check whether the specified config is in the bounds of the ConfigurationSpace. It appears to mainly check whether the Conditions are met

Is this intentional?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.