A developer wants to exclude all files within a specific directory from GitHub Copilot’s suggestions. Which syntax would they use in the .copilotignore file to achieve this?
You are working on a Python project that includes a function calculate_discount(price, discount_rate) which calculates the final price after applying a discount. You want to use GitHub Copilot to generate unit tests for this function, ensuring that edge cases like invalid input are also covered. How can you use GitHub Copilot to generate appropriate tests for your function? (Select two)
You are working on a project involving sensitive financial data, such as customer transactions and account details. You plan to use GitHub Copilot to accelerate your development workflow. However, you are aware of potential privacy concerns and want to ensure that your sensitive data is not exposed to Copilot’s underlying AI model. Which of the following practices will best help you prevent the exposure of sensitive financial data when using GitHub Copilot?
You are tasked with implementing GitHub Copilot in your organization for developers to generate code. Your team is concerned about the ethical implications of using AI in code generation, particularly around bias and unintended consequences in the output. What steps should you take to ensure that GitHub Copilot is used responsibly?