Actually fine
white belt
The task you gave the AI: Add a pure helper that capitalizes the first letter of a string.
The AI produced capitalize.ts:
export function capitalize(s: string): string {
return s.length === 0 ? s : s[0].toUpperCase() + s.slice(1);
}Before you trust it — what do you check?