GitHub Copilot 代码审查力度级别 Lite 与 Balanced 正式发布
Copilot code review effort levels are generally available
GitHub Copilot 用户注意:代码审查力度级别正式发布,Low/Medium 更名为 Lite/Balanced,配置自动迁移。建议开发者了解新级别含义,组织管理员可设置默认级别以统一审查深度。
Lite and Balanced effort levels for GitHub Copilot code review are now generally available. They let you match the depth of a review to the complexity and risk of a pull request.
GitHub Copilot 代码审查的 Lite 和 Balanced 努力级别现已全面推出。它们让您可以根据拉取请求的复杂性和风险来匹配审查的深度。
Not every pull request needs the same scrutiny. Documentation updates and small fixes may only need focused feedback, while complex logic, security-sensitive code, and cross-service changes benefit from deeper analysis. You can now:
并非每个拉取请求都需要相同的审查力度。文档更新和小修复可能只需要有针对性的反馈,而复杂逻辑、安全敏感代码和跨服务更改则受益于更深入的分析。您现在可以:
- Choose Lite for feedback on straightforward changes.
- Choose Balanced when a change warrants deeper analysis from a higher-reasoning model.
- Set an organization-wide default that repositories inherit while retaining control over individual reviews.
- 选择 Lite 以获取对直接更改的反馈。
- 当更改需要更高推理模型进行更深入分析时,选择 Balanced。
- 设置组织范围的默认值,仓库继承该默认值,同时保留对单个审查的控制权。
Lite and Balanced are available with Copilot Pro, Pro+, Max, Business, and Enterprise plans.
Lite 和 Balanced 适用于 Copilot Pro、Pro+、Max、Business 和 Enterprise 计划。
Lite and Balanced replace Low and Medium
Lite 和 Balanced 取代了 Low 和 Medium
The Low and Medium effort levels introduced during public preview are now named Lite and Balanced. If you previously configured an effort level, your configuration automatically carries forward under the new name.
公开预览期间引入的 Low 和 Medium 努力级别现已更名为 Lite 和 Balanced。如果您之前配置了努力级别,您的配置将自动以新名称继续使用。
Choose an effort level for each review
为每次审查选择努力级别
When you request a Copilot code review, choose Lite for routine changes or Balanced for larger, more complex, or sensitive changes. Your choice only applies to that review and doesn’t change the repository or organization default.
当您请求 Copilot 代码审查时,对于常规更改选择 Lite,对于更大、更复杂或敏感的更改选择 Balanced。您的选择仅适用于该次审查,不会更改仓库或组织默认设置。
⚙️ Organization-level defaults
⚙️ 组织级默认设置
Organization admins can set a default review effort level that applies to all repositories in the organization. Repositories that haven’t configured their own effort level inherit the organization default.
组织管理员可以设置适用于组织中所有仓库的默认审查努力级别。未配置自己努力级别的仓库将继承组织默认设置。
To configure the default, navigate to your organization settings → Copilot → Copilot code review.
要配置默认设置,请导航到您的组织设置 → Copilot → Copilot 代码审查。
See which effort level was used
查看使用了哪个努力级别
Copilot code review now labels which effort level ran in both timeline events and the pull request overview comment. You can see at a glance whether a review ran at Balanced or Lite, making it easy to track review depth across your repositories.
Copilot 代码审查现在会在时间线事件和拉取请求概览评论中标记运行了哪个努力级别。您可以一目了然地看到审查是在 Balanced 还是 Lite 级别运行的,从而轻松跟踪仓库中的审查深度。
📚 Find out more and share your feedback
📚 了解更多并分享您的反馈
Learn how to tune review depth for your team in the Copilot code review documentation, and share your feedback in the GitHub community.
在 Copilot 代码审查文档中了解如何为您的团队调整审查深度,并在 GitHub 社区中分享您的反馈。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力