docs: def view_act_ruptures_by_src(token, dstore):
      """
      Display the actual number of ruptures by source in event based calculations
      """
      data = dstore['ruptures'].value[['srcidx', 'serial']]
      counts = sorted(countby(data, 'srcidx').items(),
                      key=operator.itemgetter(1), reverse=True)
      src_info = dstore['source_info'].value[['grp_id', 'source_id']]
      table = [['src_id', 'grp_id', 'act_ruptures']]
      for srcidx, act_ruptures in counts:
          src = src_info[srcidx]
          table.append([src['source_id'], src['grp_id'], act_ruptures])
      return rst_table(table)