L13·h22: Earlier 'while True' or loop-start keyword in code

Attention head 22 of layer 13 (of 36) in Qwen3-8B, among its workspace layers.

Fires on
Repeated keywords in code, such as while True and if, and hedging adverbs (the labeller was 20% sure)
Attends to
Earlier 'while True' or loop-start keyword in code (the labeller was 30% sure)
Writes
Copies ellipsis and line-break tokens, suppresses hedge words (the labeller was 15% sure)

Where it fires: …)] while [True]: s = fp.readline() [if] not s:

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