[tor-bugs] #25085 [Metrics/Onionoo]: Make order of sorted results deterministic

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 30 09:51:46 UTC 2018


#25085: Make order of sorted results deterministic
---------------------------------+--------------------------
     Reporter:  iwakeh           |      Owner:  metrics-team
         Type:  enhancement      |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:  #25002
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 A non-deterministic element in Onionoo docs is the order of entries. When
 there is a tie in the used order parameter order is arbitrary and will
 differ. A simple solution could be to always sort by fingerprint in case
 of a tie.

 See this
 [https://gitweb.torproject.org/user/iwakeh/onionoo.git/commit/?h=task-25002
 patch].

 Open steps:
 * rebase to master,
 * add a change log entry, and
 * provide a metrics-web patch for updating the ​specification

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25085>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list