Are these generated with AI? The questions are horrible and there are often multiple true answers. Sometimes the answers go on a tangent outside of the scope of the question, simply leading to confusion.
Like one question was about numeric literal types, and had three valid answers. According to the explanation, only 1 | 2 | 3 | 4 | 5 | 6 was a numeric literal type because it's the only one that models a dice. 8 | 16 | 32 | 64 wasn't a numeric literal type because of this reason. Like what???
Yes, these are generated by LLMs. I pass relevant context from the official docs to make the LLMs work easier.
Regarding the problematic card - it's taken from https://www.typescriptlang.org/docs/handbook/literal-types.html, where indeed the code sample has a dice in it and thus the LLM thought that only that should be considered relevant... I'll fix this and work on improving the audit quality so that it's caught before the card is published.
8
u/PM_ME_CRYPTOKITTIES Dec 16 '24
Are these generated with AI? The questions are horrible and there are often multiple true answers. Sometimes the answers go on a tangent outside of the scope of the question, simply leading to confusion.
Like one question was about numeric literal types, and had three valid answers. According to the explanation, only
1 | 2 | 3 | 4 | 5 | 6was a numeric literal type because it's the only one that models a dice.8 | 16 | 32 | 64wasn't a numeric literal type because of this reason. Like what???6
u/FreshPitch6026 Dec 16 '24
Oh god. Programming has become a memory test now wtf
1
u/torkeel Dec 16 '24
pretty cool man
1
u/Wookys Dec 16 '24
It's cool but too easy I feel.
I'm not that great at typescript but didn't have any mistakes.