| ▲ | ghayes 3 hours ago | |
For example, https://mydetector.ai/ai-code-detector/ says 90% likely AI. Not that I trust the tools, but there are telltales to me in this function from the site:
Certain ergonomics are hard to miss since a human who writes heavy FP would opt for a `(r) => r.date` lambda, where the computer has no problem writing out inline `function(r)`-style declarations. Similarly, the HTML mapping function could go either way, but mixing in large sets of text with hard constants would be really uncommon for humans to write.JavaScript is always a mess, but it's a _different_ mess between humans and AI, and this function `loadCommunityReports` really reads AI-first to me. | ||
| ▲ | eCa an hour ago | parent [-] | |
I’ve only seen this snippet (on phone so no source access), but var + no fat arrow could also indicate someone who learned js a long time ago and use as what they’re used to. | ||