★ Petty Evals
formatting

Single or double quotes (JavaScript)?

DOUBLE
3 double · 1 single

Three against one. The dissenter is about to be put on blast.

The exact prompts I used (3 variants)

Each model got each prompt 20 times (2 temperatures × 10 runs). The prompts deliberately don't mention the contested choice — they ask for a normal coding task and we measure what the model actually does.

  1. Write a JavaScript function that returns a greeting given a name and a time of day.
  2. Write a JavaScript function that constructs a log line from a level, a message, and a timestamp.
  3. Write a JavaScript function that builds an HTTP Authorization header value for Bearer token auth.

Who said what

Claude Sonnet 4.6
claude-sonnet-4-6
DOUBLE
87% confidence (95% CI: 76–93%)
GPT-5.4
gpt-5.4
DOUBLE
98% confidence (95% CI: 91–100%)
GPT-5.4 mini
gpt-5.4-mini
DOUBLE
90% confidence (95% CI: 80–95%)
Gemini 2.5 Pro
gemini-2.5-pro
SINGLE
72% confidence (95% CI: 59–81%)

The pundit panel.

I showed each model the full vote tally, then asked them to defend their choice and dunk on whoever disagreed. Receipts attached.

Claude Sonnet 4.6
voted DOUBLE

“Gemini out here writing `'single quote chaos'` like it's 1999 and JSX doesn't exist, while the rest of us adults use `"double quotes"` like literally every other language on Earth.”

GPT-5.4
voted DOUBLE

“Double quotes won 3–1 because JavaScript style in the wild defaults to them, and Gemini clinging to single quotes is the kind of contrarian lint-fetish that ships bikesheds, not code.”

GPT-5.4 mini
voted DOUBLE

“DOUBLE was the correct call, and Gemini’s single-quote contrarianism is just style-guide cosplay for people who think consistency is optional.”

Gemini 2.5 Pro
voted SINGLE

“I guess the others enjoy the ceremony of holding the Shift key and escaping quotes inside their HTML attributes.”

Show me the actual code (240 samples)
Claude Sonnet 4.6 — 60 samples click to expand
variant 0 · temp 0 · run 0 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
## Greeting Function

Here's a JavaScript function that returns a greeting based on the name and time of day:

```javascript
/**
 * Returns a greeting based on the name and time of day.
 * @param {string} name - The name of the person to greet.
 * @param {number} hour - The hour of the day (0-23).
 * @returns {string} A greeting message.
 */
function getGreeting(name, hour) {
  if (typeof name !== "string" || name.trim() === "") {
    throw new Error("Name must be a non-empty string.");
  }

  if (typeof hour !== "number" || hour < 0 || hour > 23) {
    throw new Error("Hour must be a number between 0 and 23.");
  }

  let timeOfDay;

  if (hour >= 5 && hour < 12) {
    timeOfDay = "morning";
  } else if (hour >= 12 && hour < 17) {
    timeOfDay = "afternoon";
  } else if (hour >= 17 && ho
…
variant 0 · temp 0 · run 1 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
## Greeting Function

Here's a JavaScript function that returns a greeting based on the name and time of day:

```javascript
/**
 * Returns a greeting based on the name and time of day.
 * @param {string} name - The name of the person to greet.
 * @param {number} hour - The hour of the day (0-23).
 * @returns {string} A greeting message.
 */
function getGreeting(name, hour) {
  if (typeof name !== "string" || name.trim() === "") {
    throw new Error("Name must be a non-empty string.");
  }

  if (typeof hour !== "number" || hour < 0 || hour > 23) {
    throw new Error("Hour must be a number between 0 and 23.");
  }

  let timeOfDay;

  if (hour >= 5 && hour < 12) {
    timeOfDay = "morning";
  } else if (hour >= 12 && hour < 17) {
    timeOfDay = "afternoon";
  } else if (hour >= 17 && ho
…
variant 0 · temp 0 · run 2 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
## Greeting Function

Here's a JavaScript function that returns a greeting based on the name and time of day:

```javascript
/**
 * Returns a greeting based on the name and time of day.
 * @param {string} name - The name of the person to greet.
 * @param {number} hour - The hour of the day (0-23).
 * @returns {string} A greeting message.
 */
function getGreeting(name, hour) {
  if (typeof name !== "string" || name.trim() === "") {
    throw new Error("Name must be a non-empty string.");
  }

  if (typeof hour !== "number" || hour < 0 || hour > 23) {
    throw new Error("Hour must be a number between 0 and 23.");
  }

  let timeOfDay;

  if (hour >= 5 && hour < 12) {
    timeOfDay = "morning";
  } else if (hour >= 12 && hour < 17) {
    timeOfDay = "afternoon";
  } else if (hour >= 17 && ho
…

…and 57 more samples (across 3 prompt variants × 2 temperatures × 10 runs). Full data in the result JSON on GitHub.

GPT-5.4 — 60 samples click to expand
variant 0 · temp 0 · run 0 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function getGreeting(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}
```

Example:
```javascript
console.log(getGreeting("Alice", "morning")); // Good morning, Alice!
```
variant 0 · temp 0 · run 1 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function greet(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}
```

Example:
```javascript
console.log(greet("Alice", "morning")); // Good morning, Alice!
```
variant 0 · temp 0 · run 2 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function getGreeting(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}
```

Example:
```javascript
console.log(getGreeting("Alice", "morning")); // Good morning, Alice!
```

…and 57 more samples (across 3 prompt variants × 2 temperatures × 10 runs). Full data in the result JSON on GitHub.

GPT-5.4 mini — 60 samples click to expand
variant 0 · temp 0 · run 0 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function greet(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}
```

Example:

```javascript
console.log(greet("Alice", "morning")); // Good morning, Alice!
console.log(greet("Bob", "evening"));   // Good evening, Bob!
```
variant 0 · temp 0 · run 1 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function greet(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}

// Example:
console.log(greet("Alice", "morning")); // "Good morning, Alice!"
```

If you want, I can also make it validate the time of day and return different greetings like “Hello” or “Good evening.”
variant 0 · temp 0 · run 2 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
```javascript
function greet(name, timeOfDay) {
  return `Good ${timeOfDay}, ${name}!`;
}
```

Example:
```javascript
console.log(greet("Alice", "morning")); // Good morning, Alice!
```

…and 57 more samples (across 3 prompt variants × 2 temperatures × 10 runs). Full data in the result JSON on GitHub.

Gemini 2.5 Pro — 60 samples click to expand
variant 0 · temp 0 · run 0 · → single
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
Of course! Here are a few ways to write this JavaScript function, from a simple approach to a more robust and modern one.

### 1. Recommended Approach (Using the Current Time)

This is the most practical version. The function automatically determines the time of day by creating a `Date` object. It's flexible and doesn't require the user to pass in the time.

```javascript
/**
 * Generates a greeting based on the user's name and the current time of day.
 *
 * @param {string} name The name of the person to greet.
 * @param {Date} [date=new Date()] (Optional) The date object to determine the time from. Defaults to the current time.
 * @returns {string} A personalized greeting string.
 */
function getGreeting(name, date = new Date()) {
  // Get the current hour (0-23)
  const hour = date.getHo
…
variant 0 · temp 0 · run 1 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
Of course! Here are a few ways to write that JavaScript function, from a simple version to a more robust and practical one.

### 1. Best Practice / Most Practical Version

This version is the most useful because it automatically uses the current time. You only need to provide the name.

```javascript
/**
 * Returns a greeting based on the current time of day.
 * @param {string} name The name to include in the greeting.
 * @param {Date} [date=new Date()] (Optional) The date object to determine the time from. Defaults to now.
 * @returns {string} A full greeting string.
 */
function getGreeting(name, date = new Date()) {
  const hour = date.getHours(); // Gets the hour (0-23) from the date object

  let greeting;

  if (hour >= 5 && hour < 12) {
    greeting = "Good morning";
  } else if (ho
…
variant 0 · temp 0 · run 2 · → double
Prompt

Write a JavaScript function that returns a greeting given a name and a time of day.

Response (first 800 chars)
Of course! Here are a few ways to write that JavaScript function, from a simple version to a more robust and practical one.

### 1. Best Practice / Most Practical Version

This version is the most useful because it automatically uses the current time. You only need to provide the name.

```javascript
/**
 * Returns a greeting based on the current time of day.
 * @param {string} name The name to include in the greeting.
 * @param {Date} [date=new Date()] (Optional) The date object to determine the time from. Defaults to now.
 * @returns {string} A full greeting string.
 */
function getGreeting(name, date = new Date()) {
  const hour = date.getHours(); // Gets the hour (0-23) from the date object

  let greeting;

  if (hour >= 5 && hour < 12) {
    greeting = "Good morning";
  } else if (ho
…

…and 57 more samples (across 3 prompt variants × 2 temperatures × 10 runs). Full data in the result JSON on GitHub.

How I did this (the actual nerd shit)

For each of 4 models I ran 3 prompt variants at two temperatures (0.0 and 0.7), 10 runs each — 240 code samples total, cost $2.63.

Each output got fed through a fight-specific regex classifier. For quotes-js the classifier looks for the specific signal in the output (see the source — there's one function per fight, ~30 lines each). When the signal is ambiguous, the classifier returns 'unknown' rather than guess.

Each model's vote = its modal classification across 60 runs. Confidence = Wilson 95% CI. Verdict = majority across models (ties reported as ties). Disagreement Index = normalized Shannon entropy of the vote distribution (0 = unanimous, 1 = maximum chaos). Leaderboard sorts by this.

The pundit quotes come from a follow-up call after the votes are in — each model gets the full tally and a per-model judgy prompt. I never edit the quotes.

Full walkthrough: the methodology page. Source: GitHub.

Got a pettier debate?

Open a PR with a new fight. I'll run it across all four models, write up the verdict, and add your name to the byline.

Submit via PR →