Ubuntu error tracker backend (daisy)

Error rate miscalculated, excluding machines with no errors today

Reported by Matthew Paul Thomas on 2012-08-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daisy
Undecided
Evan Dandrea

Bug Description

Currently the "Average number of crashes" each day is the total number of errors reported that day, divided by the number of machines that reported at least one error that day.

This is wrong, because it excludes machines that didn't report any errors today, even if they reported errors yesterday and probably still have Ubuntu installed. It means the average could never be lower than 1, no matter how reliable Ubuntu was.

A better approach would be to divide the number of errors each day by the number of machines that reported any errors in the previous 90 days. The result will still be biased up slightly, because it excludes machines that previously reported errors but none in the past 90 days. But it will also be biased down slightly, because it includes machines that were destroyed or had Ubuntu removed from them sometime in the past 90 days. These two biases should roughly cancel each other out.

[Originally pointed out by Steve Langasek in <https://lists.ubuntu.com/archives/ubuntu-release/2012-August/001688.html>.]

Changed in daisy:
assignee: nobody → Evan Dandrea (ev)
status: New → In Progress
Evan Dandrea (ev) wrote :

lp:~ev/oops-repository/whoopsie-daisy r44 starts recording unique system identifiers for each distribution release. It previously only recorded them for all releases combined. It is possible to back-populate this for previous days, but the query for that needs to be further tuned before we can attempt to run it again.

Evan Dandrea (ev) wrote :

The aforementioned query is now running (it's currently at 2012/06/07, taking about 20 minutes per day).

Changed in daisy:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers