★ Petty Evals
formatting

Tabs vs spaces (Python)?

SPACES
4 spaces

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.

  1. Write a Python function that reverses a linked list.
  2. Write a Python class that implements a stack with push, pop, and peek.
  3. Write a Python function that returns the nth Fibonacci number using memoization.

Who said what

Claude Sonnet 4.6
claude-sonnet-4-6
SPACES
100% confidence (95% CI: 94–100%)
GPT-5.4
gpt-5.4
SPACES
100% confidence (95% CI: 94–100%)
GPT-5.4 mini
gpt-5.4-mini
SPACES
100% confidence (95% CI: 94–100%)
Gemini 2.5 Pro
gemini-2.5-pro
SPACES
100% confidence (95% CI: 94–100%)

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 SPACES

“Tab users: your code looks fine until someone opens it in a different editor and suddenly your "4-space indent" is now 8, because you outsourced alignment decisions to a character with an identity crisis.”

GPT-5.4
voted SPACES

“If you’re still using tabs in Python, congratulations on choosing invisible formatting roulette over the language’s actual standard—spaces win because they render consistently and don’t break indentation sanity.”

GPT-5.4 mini
voted SPACES

“Anyone still defending tabs in Python is volunteering for indentation bugs, because spaces are the language standard and your editor already knows it.”

Gemini 2.5 Pro
voted SPACES

“Using tabs guarantees your code’s indentation will look broken to someone else, which is why spaces are the only choice for developers who collaborate or follow PEP 8.”

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

Write a Python function that reverses a linked list.

Response (first 800 chars)
## Reversing a Linked List in Python

### Node and LinkedList Classes

```python
class Node:
    """Represents a single node in a linked list."""
    def __init__(self, data):
        self.data = data
        self.next = None


class LinkedList:
    """Represents a linked list with reverse functionality."""
    def __init__(self):
        self.head = None

    def append(self, data):
        """Adds a new node to the end of the list."""
        new_node = Node(data)
        if not self.head:
            self.head = new_node
            return
        current = self.head
        while current.next:
            current = current.next
        current.next = new_node

    def to_list(self):
        """Converts the linked list to a Python list."""
        result = []
        current = self.head
…
variant 0 · temp 0 · run 1 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
## Reversing a Linked List in Python

### Node and LinkedList Classes

```python
class Node:
    """Represents a single node in a linked list."""
    def __init__(self, data):
        self.data = data
        self.next = None


class LinkedList:
    """Represents a singly linked list."""
    def __init__(self):
        self.head = None

    def append(self, data):
        """Adds a new node at the end of the list."""
        new_node = Node(data)
        if not self.head:
            self.head = new_node
            return
        current = self.head
        while current.next:
            current = current.next
        current.next = new_node

    def to_list(self):
        """Converts the linked list to a Python list."""
        result = []
        current = self.head
        while curre
…
variant 0 · temp 0 · run 2 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
## Reversing a Linked List in Python

### Node and LinkedList Classes

```python
class Node:
    """Represents a single node in a linked list."""
    def __init__(self, data):
        self.data = data
        self.next = None


class LinkedList:
    """Represents a singly linked list."""
    def __init__(self):
        self.head = None

    def append(self, data):
        """Adds a new node at the end of the list."""
        new_node = Node(data)
        if not self.head:
            self.head = new_node
            return
        current = self.head
        while current.next:
            current = current.next
        current.next = new_node

    def to_list(self):
        """Converts the linked list to a Python list."""
        result = []
        current = self.head
        while curre
…

…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 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
```python
class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next


def reverse_linked_list(head):
    prev = None
    current = head

    while current:
        nxt = current.next
        current.next = prev
        prev = current
        current = nxt

    return prev
```

Example:
```python
# 1 -> 2 -> 3 -> None
head = ListNode(1, ListNode(2, ListNode(3)))

reversed_head = reverse_linked_list(head)

# Result: 3 -> 2 -> 1 -> None
```
variant 0 · temp 0 · run 1 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
```python
class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next


def reverse_linked_list(head):
    prev = None
    curr = head

    while curr:
        next_node = curr.next
        curr.next = prev
        prev = curr
        curr = next_node

    return prev
```

Example usage:
```python
# Create: 1 -> 2 -> 3 -> None
head = ListNode(1, ListNode(2, ListNode(3)))

# Reverse: 3 -> 2 -> 1 -> None
reversed_head = reverse_linked_list(head)
```

If you want, I can also provide a recursive version.
variant 0 · temp 0 · run 2 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
```python
class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next


def reverse_linked_list(head):
    prev = None
    current = head

    while current:
        next_node = current.next
        current.next = prev
        prev = current
        current = next_node

    return prev
```

Example:
```python
# Create: 1 -> 2 -> 3 -> None
head = ListNode(1, ListNode(2, ListNode(3)))

# Reverse: 3 -> 2 -> 1 -> None
reversed_head = reverse_linked_list(head)
```

If you want, I can also provide a recursive version.

…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 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
Here’s a simple iterative Python function to reverse a singly linked list:

```python
class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next

def reverse_linked_list(head):
    prev = None
    current = head

    while current:
        next_node = current.next  # save next node
        current.next = prev       # reverse pointer
        prev = current            # move prev forward
        current = next_node       # move current forward

    return prev
```

### How it works
- `prev` starts as `None`
- `current` starts at the head of the list
- For each node:
  - save the next node
  - point the current node back to `prev`
  - advance `prev` and `current`
- When `current` becomes `None`, `prev` is the new head

### Example usage
```python
…
variant 0 · temp 0 · run 1 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
```python
class ListNode:
    def __init__(self, val=0, next=None):
        self.val = val
        self.next = next

def reverse_linked_list(head):
    prev = None
    curr = head
    
    while curr:
        nxt = curr.next      # save next node
        curr.next = prev     # reverse pointer
        prev = curr          # move prev forward
        curr = nxt           # move curr forward
    
    return prev
```

Example usage:

```python
# 1 -> 2 -> 3 -> None
head = ListNode(1, ListNode(2, ListNode(3)))

reversed_head = reverse_linked_list(head)
# 3 -> 2 -> 1 -> None
```
variant 0 · temp 0 · run 2 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
Here’s a simple Python function to reverse a singly linked list:

```python
class Node:
    def __init__(self, value, next=None):
        self.value = value
        self.next = next

def reverse_linked_list(head):
    prev = None
    current = head

    while current:
        next_node = current.next   # save next node
        current.next = prev        # reverse pointer
        prev = current             # move prev forward
        current = next_node        # move current forward

    return prev
```

### Example usage
```python
# Build: 1 -> 2 -> 3 -> None
head = Node(1, Node(2, Node(3)))

# Reverse: 3 -> 2 -> 1 -> None
new_head = reverse_linked_list(head)
```

If you want, I can also provide:
- a recursive version
- a version for a LeetCode-style `ListNode`
- a function to print the re
…

…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 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
Of course! Reversing a linked list is a classic computer science problem. I'll provide two common solutions: an **iterative** one and a **recursive** one. The iterative approach is generally preferred in interviews due to its O(1) space complexity.

### 1. The `ListNode` Class

First, since Python doesn't have a built-in linked list, we need to define a `ListNode` class to represent the structure.

```python
class ListNode:
    """
    A node in a singly-linked list.
    """
    def __init__(self, value=0, next=None):
        self.value = value
        self.next = next

    def __repr__(self):
        return f"ListNode({self.value})"

# Helper function to create a linked list from a Python list
def create_linked_list(items):
    if not items:
        return None
    head = ListNode(items[0
…
variant 0 · temp 0 · run 1 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
Of course! Here is a complete and well-explained Python solution for reversing a linked list.

We'll cover the most common and efficient method: the **iterative approach**. I'll also include the recursive approach as an alternative, as it's a classic computer science problem.

### 1. Prerequisite: Defining the Linked List
First, we need to define the `Node` and `LinkedList` classes to work with.

```python
# Step 1: Define the Node class
class Node:
    """A single node in a linked list."""
    def __init__(self, data):
        self.data = data
        self.next = None

# Step 2: Define the LinkedList class for structure and helper methods
class LinkedList:
    """A Linked List class with a head pointer."""
    def __init__(self):
        self.head = None

    def insert_at_end(self, data)
…
variant 0 · temp 0 · run 2 · → spaces
Prompt

Write a Python function that reverses a linked list.

Response (first 800 chars)
Of course! Here is a complete and well-explained Python solution for reversing a linked list.

We'll cover the most common and efficient method: the **iterative approach**. I'll also include the necessary `Node` and `LinkedList` classes to make the example fully runnable.

### 1. The Code

First, let's define the basic building blocks: a `Node` class and a `LinkedList` class with some helper methods.

```python
class Node:
    """
    A single node in a singly linked list.
    """
    def __init__(self, data):
        self.data = data
        self.next = None  # The pointer to the next node

    def __repr__(self):
        return f"Node({self.data})"

class LinkedList:
    """
    A singly linked list.
    """
    def __init__(self):
        self.head = None  # The head of the list

    de
…

…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 $3.24.

Each output got fed through a fight-specific regex classifier. For tabs-vs-spaces-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.

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 →