ScorePart and mask

Hello,
I’m reading the implementation of ScorePart, and I’m having trouble understanding the rationale for not masking the score_function term. Any pointers would be appreciated.

Best,
Javier