                  starttime = summary["start"]
              if idx == total_summaries - 1:
                  endtime = summary["end"]
              elapsed += summary["elapsed"]
              rate += summary["rate"]
              batchset.add(summary["batch"])
              iterations += summary["iterations"]
          batch = ",".join(str(bs) for bs in batchset)
          totals = {"session": "Total",
                    "start": starttime,
 
</s> remove         rate = 0
        batchset = set()
 </s> add         examples = 0 </s> remove                   "rate": rate / total_summaries,
 </s> add                   "rate": examples / elapsed,
            examples += (summary["batch"] * summary["iterations"])
                  starttime = summary["start"]
              if idx == total_summaries - 1:
                  endtime = summary["end"]
              elapsed += summary["elapsed"]
            examples += (summary["batch"] * summary["iterations"])
              batchset.add(summary["batch"])
              iterations += summary["iterations"]
          batch = ",".join(str(bs) for bs in batchset)
          totals = {"session": "Total",
                    "start": starttime,
keep keep keep keep replace keep keep keep keep keep
 Change total rate calculation in analysis 
lib/gui/stats.py