4598: formatting and calculation fixes (code review)
authorTim Pierce <twp@curoverse.com>
Mon, 5 Jan 2015 19:22:47 +0000 (14:22 -0500)
committerTim Pierce <twp@curoverse.com>
Mon, 5 Jan 2015 19:22:47 +0000 (14:22 -0500)
commite5dce6935b3ad0e1222c63cccc3fb4e4e4924d05
tree4f53eaa589a1f69d5675edb8750138b0608ae0d1
parent1ee492f33846d35b4ead20fbdbbc3b496719bd86
4598: formatting and calculation fixes (code review)

Incorporating code review feedback from #4598-13.

Bugs fixed:
* Correct counting and percentage calculation of job failures.
** Jobs were getting categorized as both "unknown" and as a specific failure type.
* Crashes fixed: should not raise any unhandled exceptions.

Formatting fixes:
* Itemized failures are now sorted in descending order by failure type
* Better horizontal alignment
* Modified formatting to account for updated description.
services/api/script/crunch-failure-report.py