Implement direct_logit_attribution(components, ln_scale, W_U, target_token, baseline_token): split the logit difference logit[target] - logit[baseline] into the contribution of each residual-stream component.
components: shape (n_components, d_model); row is what component writes into the final residual stream.ln_scale: positive float ; the residual stream is divided by it before unembedding.W_U: unembedding matrix of shape (d_model, vocab_size); target_token and baseline_token are column indices.Contribution of component :
Return a Python list of n_components floats in component order. Their sum equals the residual stream's total logit difference.