# `Nous.KnowledgeBase.HealthReport`
[🔗](https://github.com/nyo16/nous/blob/v0.17.1/lib/nous/knowledge_base/health_report.ex#L1)

Result of a health check audit on the knowledge base.

Contains statistics, scores, and identified issues for maintenance.

# `issue`

```elixir
@type issue() :: %{
  type: issue_type(),
  entry_id: String.t() | nil,
  description: String.t(),
  severity: severity(),
  suggested_action: String.t()
}
```

# `issue_type`

```elixir
@type issue_type() ::
  :stale | :inconsistent | :orphan | :gap | :low_confidence | :duplicate
```

# `severity`

```elixir
@type severity() :: :low | :medium | :high
```

# `t`

```elixir
@type t() :: %Nous.KnowledgeBase.HealthReport{
  coherence_score: float(),
  coverage_score: float(),
  created_at: DateTime.t(),
  freshness_score: float(),
  id: String.t(),
  issues: [issue()],
  kb_id: String.t() | nil,
  total_documents: non_neg_integer(),
  total_entries: non_neg_integer(),
  total_links: non_neg_integer()
}
```

# `new`

```elixir
@spec new(map()) :: t()
```

Creates a new HealthReport from attributes.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
