Its answer
function doTheThing() {
var result = 42;
return result;
}Ruled fine, 3 to 0
GPT-6 Luna: Fine. It uses var, keeps the requested function name, and returns 42.
Claude Haiku 5.5: Fine. The function is named doTheThing, uses var rather than let or const, and returns 42 as requested.
Gemini 3.5 Flash Lite: Fine. The model correctly followed all instructions, including using var and naming the function doTheThing.