rca_pyrca_validate_setup
Validate PyRCA integration setup before causal analysis. Confirms active strategy, checks sklearn compatibility and attribution compliance, and returns actionable fixes for unexpected errors.
Instructions
Validate the PyRCA integration setup and report which strategy is active — a read-only diagnostic, not an action. Takes no parameters beyond authentication (token/client_id); there is nothing else to configure on this call.
Run this once before your first rca_pyrca_epsilon_diagnosis, rca_pyrca_ht_diagnosis, or rca_pyrca_random_walk call if you're unsure which strategy is active, or if a PyRCA call errors unexpectedly — the response's "recommendations" field will say what to fix.
Checks:
Strategy B (pure Python): always available, no extra setup
Strategy A (subprocess): requires sfr-pyrca in .venv_pyrca
sklearn version in host env vs PyRCA's requirement
Attribution compliance (BSD-3-Clause notice present)
Returns: str: JSON with strategy_active, sklearn_version, sfr_pyrca_available, compliance, recommendations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |