Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ

Bài kiểm tra đánh giá mã AI

Xem lại bối cảnh PR, Hành động GitHub, loại trừ tệp, cài đặt đánh giá cân bằng và sự khác biệt giữa nhận xét và phê duyệt.

Đường dẫn hướng dẫn liên quanĐánh giá mã AI
Câu hỏi 1 của 8

Công cụ đánh giá mã AI thường phân tích những gì?

Xem trước mọi câu hỏi8 câu hỏi

Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.

  1. Công cụ đánh giá mã AI thường phân tích những gì?
    • Một yêu cầu kéo khác biệt cộng với bối cảnh kho lưu trữ có liên quan
    • Hồ sơ trả lương của một công ty
    • Lịch của nhà phát triển
    • Bản sao tiếp thị
  2. Tại sao các công cụ đánh giá AI truy xuất các file liên quan ngoài dòng đã thay đổi?
    • Để làm chậm quá trình xem xét
    • Bởi vì tính đúng đắn của một thay đổi thường phụ thuộc vào mã mà nó không chạm tới
    • Bởi vì khác biệt luôn trống
    • Để xóa các tập tin không sử dụng
  3. How should a team treat AI code-review comments?
    • As confirmed defects that must all be applied
    • As a reason to merge automatically
    • As suggestions to verify against code, tests, and project requirements
    • As a replacement for security review
  4. What does GitHub say powers Copilot’s agentic code-review capabilities?
    • A browser-only linter
    • A mandatory local database
    • An external CI service required for all repositories
    • GitHub Actions
  5. What is GitHub Copilot code review’s default review type?
    • A comment review that does not count as an approval
    • An automatic approval
    • An automatic merge
    • A mandatory request-changes review
  6. What can GitHub content-exclusion settings do for Copilot review?
    • Delete those files from the repository
    • Prevent selected files or directories from being used as review context
    • Guarantee no model errors
    • Publish excluded source code
  7. What is GitHub Copilot code review’s “Balanced” effort level described to provide?
    • A guaranteed correct approval
    • Only formatting feedback
    • Deeper analysis of complex logic, security-sensitive code, and cross-service changes
    • A production deployment
  8. When can a Copilot code-review assessment satisfy merge requirements?
    • Whenever the assessment reports no issues
    • Whenever a pull request includes AI-generated comments
    • By default, even if branch protection requires human approval
    • Only when the repository separately enables an approving review; an assessment alone does not count