Reliability Ledger¶
Cluster: Uncategorised | Type: component | MCP Tools: None
Overview¶
Public API¶
ReliabilityLedger¶
Constructor:
| Parameter | Type | Default |
|---|---|---|
db_path | str \| Path | 'self_observation_events.db' |
routing_db_path | str \| Path \| None | None |
Methods:
events() -> list[dict[str, Any]]¶
fail_rate_by_component() -> dict[str, float]¶
fail_rate_by(field: str) -> dict[str, float]¶
recurring_failures(min_count: int = 2) -> dict[str, int]¶
mitigation_quality(harness_id: str, failure_mode: str | None = None) -> float¶
mitigation_quality_summary(harness_id: str, failure_mode: str | None = None) -> dict[str, Any]¶
weak_tests() -> dict[str, int]¶
agents_with_hallucinated_success() -> dict[str, int]¶
query(name: str, **kwargs: Any) -> dict[str, Any]¶
Functions¶
resolve_events_db(events_db: str | Path | None) -> str¶
Confine an untrusted
events_dbpath to the expected ledger directories.