The most amazing thing about that context thing is that in VSCode it actually uses your current debugging session as well. For example I have a FHIR resource with a resource_type of "Medication", but its a polymorphic type in Python. Copilot, looking at the other code I wrote and the current paused debugger will actually recommend my next line of code be based on that debug session and recommend:
if type(resource) is Medication:
I think I'm writing 20% of my code these days. I fix up about 30% of the suggestions, unless it's a strip of boilerplate which it almost never gets wrong.
Everything has a unit test in this python codebase so I make sure that it's all correct.