[metrics-bugs] #29624 [Metrics/Exit Scanner]: New version of exit list format
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Apr 22 15:26:16 UTC 2019
#29624: New version of exit list format
-------------------------------------+--------------------------------
Reporter: irl | Owner: irl
Type: task | Status: needs_revision
Priority: Medium | Milestone:
Component: Metrics/Exit Scanner | Version:
Severity: Normal | Resolution:
Keywords: metrics-roadmap-2019-q2 | Actual Points:
Parent ID: #29650 | Points:
Reviewer: irl | Sponsor:
-------------------------------------+--------------------------------
Comment (by karsten):
Here's a graph roughly like the one I suggested above:
[[Image(exitips-stacked-area.png​, 700px)]]
Here's the source code:
{{{
require(tidyr)
require(dplyr)
require(readr)
require(ggplot2)
read_csv("exitips.csv", col_types = cols(
time = col_datetime(format = ""),
consensus = col_double(),
exitl = col_double(),
exitlo = col_double())) %>%
transmute(time, consensus_only = consensus - exitl + exitlo,
both = exitl - exitlo,
exitlist_only = exitlo) %>%
gather(document, ips, 2:4) %>%
mutate(document = factor(document,
levels = c("exitlist_only", "both", "consensus_only"),
labels = c("Found only in exit list",
"Found in consensus and exit list", "Found only in consensus"))) %>%
ggplot(aes(x = time, y = ips, fill = document)) +
geom_area() +
scale_x_datetime(name = "") +
scale_y_continuous(name = "", limits = c(0, NA)) +
scale_fill_manual(name = "",
values = c("#03B3FF", "#39FF02", "#FFFF00"))
ggsave(filename = "exitips-stacked-area.png", width = 8, height = 5, dpi =
150)
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29624#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list