BackendPlan#

class scikitplot.corpus.BackendPlan(policy, declared, ordered, eligible, selected, skipped=(), selected_capabilities=(), skip_details=())[source]#

Side-effect-free preflight of candidate ordering and policy eligibility.

BackendPlan is the discovery counterpart to BackendOutcome. It executes no backend callable and performs only lightweight capability probes. The runtime runner consumes this exact plan-building logic, so preflight and execution cannot silently diverge in ordering or policy.

Parameters:
capability_view(*, registry=None)[source]#

Return readiness records with this plan’s selection marked.

Parameters:

registry (CapabilityRegistry | None)

Return type:

dict[str, dict[str, Any]]

declared: tuple[str, ...][source]#
eligible: tuple[str, ...][source]#
ordered: tuple[str, ...][source]#
policy: str[source]#
selected: tuple[str, ...][source]#
selected_capabilities: tuple[str, ...] = ()#
skip_details: tuple[BackendSkip, ...] = ()#
skipped: tuple[str, ...] = ()#
to_dict()[source]#

Return a JSON-compatible representation.

Return type:

dict[str, Any]