willkg / crashstats-tools

Command line tools and library for interacting with Crash Stats (https://crash-stats.mozilla.org/)
Mozilla Public License 2.0
7 stars 0 forks source link

sometimes `--` value is negative #109

Closed willkg closed 10 months ago

willkg commented 10 months ago

If you facet on modules_in_stack, you get a negative number for --. modules_in_stack is a list of values, so you can have one crash report with multiple modules in the stack that show up in the list. Therefore the total of the counts won't equal the total number of crash reports represented.

A negative value looks weird and it's not meaningful.

Maybe we should drop the -- value? Maybe it should require an argument to calculate? Something like --with-leftover-count?