You’re working on a project and notice that GitHub Copilot generates code snippets that closely match open-source code available on GitHub. You’re curious how Copilot identifies relevant code from its training data and provides suggestions based on the context of the code you're writing. Which of the following describes how GitHub Copilot identifies matching code for code suggestions?