[Concept] [PATCH 15/29] buildman: Refactor get_result_summary() in builder.py