Description
I found this line in your autopilot which combines several heuristics for the autopilot:
lnd/autopilot/combinedattach.go
Line 110 in 2bf2261
As far as I understand the scores are always supposed to be normalized which should mean that we are talking about rates. According to the Wikipedia article about the Harmonic mean this seems to be a better candidate than the arithmetic mean that is currently being used:
In mathematics, the harmonic mean [...] is appropriate for situations when the average of rates is desired.
The formula for a weighted harmonic mean can also be found in the wikipedia article:
If you agree I would implement the weighted harmonic mean and exchange the current average and issue a pull request.
fyi: @alexbosworth @halseth