اختبار مرتبط بالدليل · متوسط المستوى

اختبار مراجعة كود الذكاء الاصطناعي

مراجعة سياق العلاقات العامة وإجراءات GitHub واستثناءات الملفات وإعدادات المراجعة المتوازنة والتمييز بين التعليقات والموافقات.

مسارات الدليل ذات الصلةمراجعة كود الذكاء الاصطناعي
سؤال 1 من 8

ما الذي تحلله عادةً أداة مراجعة التعليمات البرمجية التي تعمل بالذكاء الاصطناعي؟

معاينة كل سؤال8 أسئلة

تظهر الإجابات والتفسيرات أثناء إجراء الاختبار.

  1. ما الذي تحلله عادةً أداة مراجعة التعليمات البرمجية التي تعمل بالذكاء الاصطناعي؟
    • فرق طلب السحب بالإضافة إلى سياق المستودع ذي الصلة
    • سجلات الرواتب للشركة
    • تقويم المطور
    • نسخة تسويقية
  2. لماذا تقوم أدوات مراجعة الذكاء الاصطناعي باسترداد الملفات ذات الصلة خارج الأسطر التي تم تغييرها؟
    • لإبطاء المراجعة
    • لأن صحة التغيير غالبًا ما تعتمد على الكود الذي لا يمسه
    • لأن الاختلافات دائما فارغة
    • لحذف الملفات غير المستخدمة
  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