Opened 8 years ago
Closed 3 years ago
#6443 closed enhancement (wontfix)
Graph cdf of probability of selecting among the biggest k exits
Reported by: | arma | Owned by: | |
---|---|---|---|
Priority: | Medium | Milestone: | |
Component: | Metrics/Analysis | Version: | |
Severity: | Keywords: | ||
Cc: | gsathya, robgjansen, phw, amj703, nikita@… | Actual Points: | |
Parent ID: | #6460 | Points: | |
Reviewer: | Sponsor: |
Description
Now that we have our scripts in #6232 extracting useful data, here's another graph that would be useful.
On the x axis is our set of 900 Exit relays, ordered by chance of being chosen. f(x) is the chance that the user's selected exit is in the first (biggest) x relays.
We'll likely find that we should zoom in on just the x \in [0..50] range or something, since otherwise the graph will just shoot up to 1.0 and stay there.
Auto generating this graph for the current consensus, and sticking it near consensus-health, might be wise.
Once we've done the basic graph, we might find that graphing f(10) over time tells us something interesting about #6232 (for various values of 10).
Child Tickets
Attachments (11)
Change History (29)
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Another interesting visualization would be "graph x such that f(x) = .5" over time. In this case higher x means a safer network.
Changed 8 years ago by
Attachment: | exit-probability-cdf-2012-07-23-2.png added |
---|
A cdf comparing two recent days
comment:3 Changed 8 years ago by
Here is an early graph from Karsten:
https://trac.torproject.org/projects/tor/attachment/ticket/6443/exit-probability-cdf-2012-07-23-2.png
5 relays were 30% of the network on July 20, 2012. Two of them gained the Guard flag since then, cutting in half their chance of being chosen in the exit position.
The top 10 relays were 45% of the network; top 20 relays were 60% of the network; and top 40 relays were 80% of the network.
Changed 8 years ago by
Attachment: | exit-probability-cdf-2012-07-23-3.png added |
---|
Changed 8 years ago by
Attachment: | exit-probability-icdf-2012-07-23.png added |
---|
comment:5 Changed 8 years ago by
Parent ID: | #6232 → #6460 |
---|
comment:6 Changed 8 years ago by
Out of these three, the cdf is way way easier to read.
As another attempt to graph progress over time, how about a cdf graph with four curves: a) today, b) a week ago, c) a month ago, and d) a year ago.
We should also ponder some sort of smoothing or averaging, since I don't want to know how things were on June 24 2012 at 19:00, I want to know how things were "in June 2012". I fear most such approaches will quickly turn into garbage science though.
Changed 8 years ago by
Attachment: | exit-probability-cdf-a.png added |
---|
Changed 8 years ago by
Attachment: | exit-probability-cdf-b.png added |
---|
Changed 8 years ago by
Attachment: | exit-probability-cdf-c.png added |
---|
comment:7 follow-up: 10 Changed 8 years ago by
Cc: | karsten removed |
---|---|
Owner: | set to karsten |
Status: | new → assigned |
R and I spent the afternoon together and painted three new bitmaps for U:
- This graph shows the CDF with five curves (your four plus one more for "3 months before").
- This graph and that one are the timeplots from last time, but with 1 data point per week instead of per day, and with fewer lines overall.
Next steps:
- Compute exit probabilities based on advertised bandwidths as suggested in the first comment. Make new graphs to compare probabilities based on consensus weights and advertised bandwidths.
- Wait until we have a final decision which graphs we'd want to be auto-generated, if any. Then automate generating them and add them to the metrics website.
Changed 8 years ago by
Attachment: | exit-proportions.png added |
---|
comment:8 Changed 8 years ago by
Here's another graph that visualizes exit probabilities. The blank space is reserved for relays coming after the top-50. I think the plot is called "mosaic plot" or "tree map". We could group relays belonging to the same family, country, or AS together and assign a different colour to each group. We could also label rects with nicknames instead of probabilities, at least for the top-10 or top-20 relays. We could also add the remaining relays which didn't make it into the top-50. But this is just a quick prototype to discuss whether the graph type would by useful or not.
Changed 8 years ago by
Attachment: | exit-probability-cdf-d.png added |
---|
Changed 8 years ago by
Attachment: | exit-probability-cdf-e.png added |
---|
Changed 8 years ago by
Attachment: | exit-probability-cdf-f.png added |
---|
comment:9 Changed 8 years ago by
Status: | assigned → needs_information |
---|
comment:10 Changed 8 years ago by
Replying to karsten:
- This graph shows the CDF with five curves (your four plus one more for "3 months before").
This graph would be more readable if we sorted the curves in the legend (so the first curve listed is the highest curve in the graph). Perhaps sorting them by the value at f(20) is a good approximation?
Changed 8 years ago by
Attachment: | exit-probability-cdf-a2.png added |
---|
comment:11 follow-up: 12 Changed 8 years ago by
Reordering legend entries doesn't work so well for automatically generated graphs. It's technically possible, but it might be confusing for viewers. Here's a new graph that uses different shades of green, ordered by displayed date. Is that more readable?
comment:12 Changed 8 years ago by
Replying to karsten:
Reordering legend entries doesn't work so well for automatically generated graphs. It's technically possible, but it might be confusing for viewers. Here's a new graph that uses different shades of green, ordered by displayed date. Is that more readable?
Wow, that's subtle. It wasn't until today (when I'm prepping graphs for a meeting with the funder) that I realized that the shades of green corresponded to time. So yes, now that I've realized it, it is better -- but before I realized it, I just thought they were horrible color choices. I guess that means the answer is 'no, not more readable'. :/
I still think it would be really useful to have some version of this graph on the fast-exits metrics page. But I can't figure out which one. Anybody else have suggestions on how to visualize this data usefully?
comment:13 Changed 8 years ago by
Cc: | amj703 added |
---|
comment:14 Changed 8 years ago by
Owner: | karsten deleted |
---|---|
Status: | needs_information → assigned |
I'm running out of ideas. If someone has suggestions for a visualization, I can try to implement that in R/ggplot2. Unassigning this ticket from me, because I'm currently not working on it.
comment:15 Changed 8 years ago by
Status: | assigned → needs_information |
---|
And this ticket still needs information.
comment:16 Changed 8 years ago by
I do like cdf-a and cdf-b the most. If I had to decide on one (can't we have at least these two?), it would be cdf-b.
comment:17 Changed 7 years ago by
Cc: | nikita@… added |
---|
comment:18 Changed 3 years ago by
Resolution: | → wontfix |
---|---|
Status: | needs_information → closed |
Closing tickets in Metrics/Analysis that have been created 5+ years ago and not seen progress recently, except for the ones that "nickm-cares" about.
Graphing cdf of exit probabilities using consensus weights, and also cdf using descriptor bandwidths, could be a good way of visualizing the tradeoff we're making by concentrating traffic onto the faster relays.