Got it, that's perfectly reasonable. And like I said, not a big deal to
change any of this. Ok, so right now the following metrics have
sub-metrics:
bytes-added: net_sum, absolute_sum, positive_only_sum, negative_only_sum
survival: survived, censored
threshold: threshold, time_to_threshold, censored
I thought about this and figured out an alternative that may make sense.
We can keep censored as it's not as much a sub-metric but an informational
thing. And we can keep the bytes_added submetrics together because they'll
always aggregate the same way. But in the case of threshold, when there
are disparate data types returned, we can just return two results (so you'd
have two rows on the reports page. This is probably the trickiest way to
do it for me, but it seems the cleanest for the user. Thoughts?
Dan
On Sat, Oct 26, 2013 at 11:22 AM, Dario Taraborelli <
dtaraborelli(a)wikimedia.org> wrote:
I was also thinking that, while both approaches could
work for the end
user as long as there's a UI, handling aggregators for submetrics will be a
pain when we turn Wikimetrics into an API that can be queried via HTTP. The
"one metric, one response type, one aggregator" approach should make things
much more straightforward.
On Oct 26, 2013, at 8:10 AM, Dario Taraborelli <dtaraborelli(a)wikimedia.org>
wrote:
I did see the benefits of your suggestion of TTT as a submetric but I
hadn't thought through the usability implications when it comes to
aggregators. As far as I know this is the only metric with a submetric
attached to it among those implemented so far, right?
On Oct 25, 2013, at 8:20 PM, Dan Andreescu <dandreescu(a)wikimedia.org>
wrote:
That works for me, I'm just curious what changed your mind (from the
definition of #699 we hammered out together). It really is no big deal
either way though.
On Friday, October 25, 2013, Dario Taraborelli wrote:
Steven's point goes back to a suggestion I
made a while ago: we need to
avoid a many-to-many relation between metrics and aggregators.
Each metric should return just values of one type (e.g. no mixing of
booleans and integers, like threshold and time to threshold) and we should
specify for each metric : (1) what the expected type of the output is and
(2) what aggregators are appropriate for that type.
Practically, we can group metrics into *categories* depending on the
attribute they compute:
• binary attributes (e.g. "got reverted", "got blocked", "is
productive",
"hit threshold")
• counts ("bytes added", "pages created", "time to
threshold")
• rates ("revert rate")
Each of these attributes will have a canonical *type*:
• boolean for binary attributes
• integer for counts
• float for rates
We can then specify what *aggregator* is valid as a function of the
metric category/type.
How does that sound?
Dario
On Oct 25, 2013, at 2:16 PM, Diederik van Liere <dvanliere(a)wikimedia.org>
wrote:
On Fri, Oct 25, 2013 at 2:07 PM, Steven Walling <swalling(a)wikimedia.org>wrote;wrote:
Hey all,
I used the threshold metric for the first time yesterday. First off,
thanks for adding it! Dario tells me it was brand new as of yesterday? He
also said it needs vetting?
Yes it needs extra vetting!
One piece of feedback: combining threshold and
'time to threshold' seems
to make things more confusing. For example, when you select sum as an
output, you also get the sum of the time to threshold. That result -- like
"time_to_threshold":
92.7864 -- seems to be simply the sum of hours for the members of the
cohort. Knowing that it took the cohort a combined 92 hours to reach the
threshold isn't very actionable.
So.......what are you proposing? separating it as two separate metrics?
--
Steven Walling,
Product Manager
https://wikimediafoundation.org/
_______________________________________________
Wikimetrics mailing list
Wikimetrics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimetrics
_______________________________________________
Wikimetrics mailing list
Wikimetrics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimetrics
_______________________________________________
Wikimetrics mailing list
Wikimetrics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimetrics
_______________________________________________
Wikimetrics mailing list
Wikimetrics(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimetrics