Skip to content

Remove weight and normalization keys when everviz is removed #12542

@berland

Description

@berland

Ref the now removed todo comment in this code:

def init(
self,
formatted_control_names: list[str],
objective_functions: EverestObjectivesConfig,
output_constraints: EverestConstraintsConfig | None,
realizations: list[int],
) -> None:
controls = pl.DataFrame(
{
"control_name": pl.Series(formatted_control_names, dtype=pl.String),
}
)
# TODO: The weight and normalization keys are only used by the everest api,
# with everviz. They should be removed in the long run.
weights = np.fromiter(
(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions