docs: def get_num_ruptures(self):
          """
          :returns: the number of ruptures per source group ID
          """
          return {grp.id: sum(src.num_ruptures for src in grp)
                  for grp in self.src_groups}