Q6: What is the primary function of the Duplication Detection Filter in GitHub Copilot?
The Duplication Detection Filter (matching public code filter) scans code completions in real-time against public GitHub repositories. If a suggestion matches approximately 150 characters of public code, it is automatically suppressed or flagged to prevent unintended IP infringement.
Key Takeaways
Blocks suggestions exceeding ~150 contiguous characters matching public code.
Can be set to 'Block' or 'Allow' by organization admins.
Knowledge Check
What happens when the Duplication Detection Filter is enabled and Copilot generates code matching public repos?