plexus.cli.shared.identify_target_scores module
Functions to identify which scores should be evaluated.
- plexus.cli.shared.identify_target_scores.identify_target_scores(scorecard_structure: Dict[str, Any], score_names: Any | None = None) → List[Dict[str, Any]]
Identify which scores should be targeted for evaluation.
- Args:
scorecard_structure: The scorecard structure retrieved from the API score_names: Optional score names to evaluate. Can be:
None or empty: all scores in the scorecard will be evaluated
str: comma-separated list of score names
list: list of score names
- Returns:
List of score objects to be evaluated with their metadata