L29·n1685: unbalanced or nested parentheses and brackets in code

Neuron 1685 of layer 29 (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
unbalanced or nested parentheses and brackets in code (the labeller was 60% sure)
Makes the model say
closing parentheses ) and )) in code (the labeller was 70% sure)

Where it fires: …arens('(()') assert not balanced_parens('[((]())))') assert

Tokens it fires on hardest: ^\, z, ::

Its − side: closing braces } and }, in code

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