Prioritize relays to be measured as torflow
sbws prioritize the relays to be measured only by the time they were latst measured. Initially it was also prioritizing the relays that failed to be measured, but we stop doing that since it looked those relays will fail again and delay other measurements (#28868 (closed)).
Torflow seems to order the relays obtained from the consensus by calculating a ratio dividing the maximum between the consensus bandwidth and the the minimum descriptor bandwidth (usually the observed bandwidth), when they relay is measured or the minimum of the descriptors bandwidth if the relay is unmeasured, and the minimum descriptor bandwidth (https://gitweb.torproject.org/pytorctl.git/tree/TorCtl.py#n1643).
So, for unmeasured relays, this ratio will be 1, higher for relays with higher consensus than descriptors bandwidth and lower for relays with lower consensus than descriptors bandwidth.
I'm not sure yet how this could affect the total number of relays being measured (#29710 (closed)).