L21·n2957: 'if' and parity/median checks in Python code

Neuron 2957 of layer 21 (of 36) in Qwen3-4B, among its motor layers: what a neuron writes often reads as the next word. Read here on its + side.

Fires on
'if' and parity/median checks in Python code (the labeller was 60% sure)
Makes the model say
separation and spiral vocabulary (the labeller was 20% sure)

Where it fires: …: mid = (lo+hi)/2 [if] x < a

Tokens it fires on hardest: if, or, True, ==

Its − side: 'if', 'return' and 'while' in code bodies

Driven by

Drives

Labels by Claude Haiku 5.5. The explorer shows this neuron's weight reads, firings and connections beside the labels.

Every unit's data is in the neuron-lens catalog on Hugging Face (CC BY 4.0). Guide: using Neuron Lens in research, from an AI assistant (MCP) or from code · How to read a unit · the method and findings