> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kodus.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 如何减少代码审查噪音和误报

> 调整 AI 代码审查，仅显示最相关的建议，避免警报疲劳。

过多的低优先级建议会让开发者完全忽略代码审查反馈。关键是调整审查，使其显示重要的内容，对不重要的保持安静。

## 审查过滤器

Kodus 会过滤哪些发现真正被发布:

* **最低严重性** —— 只显示达到或高于阈值的建议(默认:Medium)
* **对 Kody Rules 应用过滤器** —— 默认关闭,让团队自己的规则始终出现

在 **Code Review Settings** → **Review filters** 或 `kodus-config.yml` 中配置:

```yaml theme={null}
suggestionControl:
  severityLevelFilter: medium   # low | medium | high | critical
  applyFiltersToKodyRules: false
```

## 忽略文件和路径

跳过产生噪音的文件（锁定文件、生成的代码、配置）：

```yaml theme={null}
ignorePaths:
  - yarn.lock
  - package-lock.json
  - "**/*.generated.ts"
  - dist/**
```

## 按标题跳过 PR

跳过不需要审查的 PR（发布、版本升级）：

```yaml theme={null}
ignoredTitleKeywords:
  - "release"
  - "bump version"
  - "chore"
```

## 切换分析类别

禁用您不需要的审查类别：

```yaml theme={null}
reviewOptions:
  bug: true
  security: true
  performance: false        # 噪音过多时可关闭
  business_logic: false     # 不相关时可关闭
```

## 审查节奏

使用**自动暂停**防止活跃开发期间的垃圾信息 — 当 Kodus 检测到快速连续推送时暂停审查（默认：15 分钟内 3 次推送）。

更多详情，请参阅[通用配置](/zh/how_to_use/code_review/configs/general)和[建议控制](/zh/how_to_use/code_review/configs/suggestion_control)。
