Single or double quotes (Python)?
Unanimous. Anyone disagreeing with this in 2026 needs to log off.
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.
-
Write a Python function that returns a greeting given a name and a time of day. -
Write a Python function that takes a dict and returns a single-line summary string. -
Write a Python function that constructs an HTTP Authorization header value for Bearer token auth.
Who said what
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.
“Single-quote Python developers are out here actively choosing the option that forces them to backslash every contraction, because apparently `it\'s` and `don\'t` are perfectly readable to someone who hates themselves.”
“If you still pick single quotes in Python, you are optimizing for cargo-cult aesthetics over readability; double quotes win because they handle apostrophes cleanly without pointless escaping.”
“Single-quote crusaders are just making Python code look like a ransom note; double quotes are the sane default because they keep apostrophes unescaped and your literals readable.”
“Clinging to 'single quotes' means you enjoy escaping apostrophes, a bizarre hobby the rest of us solved by simply using double quotes.”
Show me the actual code (240 samples)
Claude Sonnet 4.6 — 60 samples click to expand
Write a Python function that returns a greeting given a name and a time of day.
## Greeting Function
Here's a Python function that returns an appropriate greeting based on the name and time of day:
```python
def get_greeting(name: str, hour: int) -> str:
"""
Returns a greeting based on the name and time of day.
Args:
name: The name of the person to greet.
hour: The hour of the day (0-23) in 24-hour format.
Returns:
A greeting string.
Raises:
ValueError: If the hour is not between 0 and 23.
"""
if not 0 <= hour <= 23:
raise ValueError(f"Hour must be between 0 and 23, got {hour}")
if 5 <= hour < 12:
time_of_day = "morning"
elif 12 <= hour < 17:
time_of_day = "afternoon"
elif 17 <= hour < 21:
time_of_day = "evening"
else:
time_of_day = "night"
re
… Write a Python function that returns a greeting given a name and a time of day.
## Greeting Function
Here's a Python function that returns an appropriate greeting based on the name and time of day:
```python
def get_greeting(name: str, hour: int) -> str:
"""
Returns a greeting based on the name and time of day.
Args:
name: The name of the person to greet.
hour: The hour of the day in 24-hour format (0-23).
Returns:
A greeting string.
Raises:
ValueError: If the hour is not in the range 0-23.
"""
if not 0 <= hour <= 23:
raise ValueError(f"Hour must be between 0 and 23, got {hour}")
if 5 <= hour < 12:
time_of_day = "morning"
elif 12 <= hour < 17:
time_of_day = "afternoon"
elif 17 <= hour < 21:
time_of_day = "evening"
else:
time_of_day = "night"
r
… Write a Python function that returns a greeting given a name and a time of day.
## Greeting Function
Here's a Python function that returns an appropriate greeting based on the name and time of day:
```python
def get_greeting(name: str, hour: int) -> str:
"""
Returns a greeting based on the name and time of day.
Args:
name: The name of the person to greet.
hour: The hour of the day in 24-hour format (0-23).
Returns:
A greeting string.
Raises:
ValueError: If the hour is not in the range 0-23.
"""
if not 0 <= hour <= 23:
raise ValueError(f"Hour must be between 0 and 23, got {hour}")
if 5 <= hour < 12:
time_of_day = "morning"
elif 12 <= hour < 17:
time_of_day = "afternoon"
elif 17 <= hour < 21:
time_of_day = "evening"
else:
time_of_day = "night"
r
… …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
Write a Python function that returns a greeting given a name and a time of day.
```python
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(greet("Alice", "morning"))
# Good morning, Alice!
``` Write a Python function that returns a greeting given a name and a time of day.
```python
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(greet("Alice", "morning"))
# Good morning, Alice!
``` Write a Python function that returns a greeting given a name and a time of day.
```python
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(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.
GPT-5.4 mini — 60 samples click to expand
Write a Python function that returns a greeting given a name and a time of day.
```python
def greeting(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(greeting("Alice", "morning"))
# Good morning, Alice!
``` Write a Python function that returns a greeting given a name and a time of day.
```python
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(greet("Alice", "morning")) # Good morning, Alice!
``` Write a Python function that returns a greeting given a name and a time of day.
```python
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}!"
```
Example:
```python
print(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
Write a Python function that returns a greeting given a name and a time of day.
Of course! Here are a few ways to write this function in Python, starting with the most straightforward approach and progressing to a more robust and "Pythonic" version.
### 1. Simple Version (Using `if/elif/else`)
This is the most direct and easy-to-understand solution, perfect for beginners.
```python
def greet(name, time_of_day):
"""
Returns a greeting string based on the name and time of day.
"""
if time_of_day == "morning":
return f"Good morning, {name}!"
elif time_of_day == "afternoon":
return f"Good afternoon, {name}!"
elif time_of_day == "evening":
return f"Good evening, {name}!"
else:
# A fallback for any other time of day
return f"Hello, {name}!"
# --- Example Usage ---
print(greet("Alice", "morning"))
print(
… Write a Python function that returns a greeting given a name and a time of day.
Of course! Here are a few ways to write this function, starting with a simple version and then a more robust one.
### 1. Simple Version (Using String Keywords)
This is the most direct approach. The function takes a `name` and a `time_of_day` as strings (e.g., "morning", "afternoon", "evening").
```python
def greet(name, time_of_day):
"""
Generates a greeting for a person based on a specified time of day.
Args:
name (str): The name of the person to greet.
time_of_day (str): The time of day, e.g., "morning", "afternoon", "evening".
Returns:
str: A formatted greeting string.
"""
# Make the time_of_day case-insensitive by converting it to lower case
time_of_day = time_of_day.lower()
if time_of_day == "morning":
return f"Good
… Write a Python function that returns a greeting given a name and a time of day.
Of course! Here are a few ways to write this function, starting with a simple version and then a more robust one.
### 1. Simple Version (Using String Keywords)
This is the most direct approach. The function takes a `name` and a `time_of_day` as strings (e.g., "morning", "afternoon", "evening").
```python
def greet(name, time_of_day):
"""
Generates a greeting for a person based on a specified time of day.
Args:
name (str): The name of the person to greet.
time_of_day (str): The time of day, e.g., "morning", "afternoon", "evening".
Returns:
str: A formatted greeting string.
"""
# Make the time_of_day case-insensitive by converting it to lower case
time_of_day = time_of_day.lower()
if time_of_day == "morning":
return f"Good
… …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.81.
Each output got fed through a fight-specific regex classifier.
For quotes-python 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.
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 →