Elektrine lite

← Feed

@jimgar@hachyderm.io

Post #1692055

2026-04-21 14:43 UTC

Man... LLMs keep producing Python code that uses `dict.get("key_name")` all over the place instead of `dict["key_name"]`. I've even written in copilot-instructions.md to strongly prefer the latter, so that key errors get thrown if the expected key isn't in a dict... and they only follow this behaviour sometimes. The result is that I can run something and be like, oh, that actually got to the end! Then I check the output and see missing or placeholder values all over.

Replies (0)

No replies.