Since it is not possible to update the score for a proof at the moment, we can cache the value to avoid recomputing every time. This especially makes sense after D10031 since the proof score is used as a key for the peer set.
This is an optimization only and does not change the behavior.
Ref T1696864.