Calculate AXI-Autonomy Score
axi_calculate_autonomy_scoreCompute AXI_A for robotaxis, driver-assistance, delivery robots, and humanoids: safety-case, bystander-legibility, consent, and integrity gates times the episode-weighted role BaseScore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cf | Yes | Consent Fidelity per event class (0–1). Missing values fail the gate closed. | |
| ii | No | Interaction Integrity (0–1). Alternatively pass integrity sub-scores. | |
| roles | No | Role-level metrics (principal, supervisor, occupant). Give baseScore directly or the metrics. | |
| integrity | No | Sub-scores used to compute II by weighted harmonic mean when ii is omitted | |
| safetyCase | Yes | Deployment holds a valid external safety case or type approval for its ODD | |
| bystanderLegibility | Yes | Bystander Legibility (0–1); gate requires >= 0.95 |