What I'm imagining is your generate a bunch of completions and penalize the ones that don't compile(or pass some other statically-performable check like generating no syntax errors or whatever)
(It's because "kubernetes" mean's "helmsman" in Greek, which is also how Wiener came up with the word "cybernetics" - which, hilariously, we're forced to conclude he must have originally pronounced with a k-sound)
Applied algebraic abstractologist. Trying to get the heavens into my head.
"Elsk – og berik med drøm – alt stort som var!
Gå mot det ukjente, fravrist det svar!"