L32·h27: promotes closing quotes and brackets before newlines in code, suppresses prose punctuation before newlines

Attention head 27 of layer 32 (of 36) in Qwen3-8B, among its motor layers.

Fires on
end of a block or statement in code, e.g. the token before a closing bracket or the group captured in a return (the labeller was 25% sure)
Attends to
sink mostly; otherwise closing quotes and brackets ending code lines (the labeller was 25% sure)
Writes
promotes closing quotes and brackets before newlines in code, suppresses prose punctuation before newlines (the labeller was 35% sure)

Where it fires: …class DirectConnectServerException(Exception): [pass][↵]

Labels by Claude Haiku 5.5. The explorer shows this head'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