Skip to content

Configuration.check_valid_configuration() missleading documentation #399

Open
@LukasFehring

Description

@LukasFehring

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:

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions