I’ve tried Copilot and to be honest, most of the time it’s a coin toss, even for short snippets. In one scenario it might try to autocomplete a unit test I’m writing and get it pretty much spot on, but it’s also equally likely to spit out complete garbage that won’t even compile, never mind being semantically correct.
To have any chance of producing decent output, even for quite simple tasks, you will need to give an LLM an extremely specific prompt, detailing the precise behaviour you want and what the code should do in each scenario, including failure cases (hmm…there used to be a term for this…)
Even then, there are no guarantees it won’t just spit out hallucinated nonsense. And for larger, enterprise scale applications? Forget it.
Even without an official rank, on Voyager he was still considered a Department Head and (more importantly) the CMO, which gave significant authority (even exceeding the Captain on certain medical matters), regardless of whether or not he was ever given any pips. The same thing would likely apply on subsequent postings.
If he ever had to be assigned a rank for clerical/administrative purposes, it would probably be the default required rank for a Starfleet CMO candidate for the class of ship he was serving on.