class_docstr: Helper container which encapsulates TOD metrics and does some basic prepocessing to
  handlers to calculate said metrics.
  
  This class should generally not need to be changed; add new metrics handlers to
  `WORLD_METRIC_HANDLERS` (or otherwise override `self.handlers` of this class) to
  change metrics actively being used.
class_docstr_tok: ["Helper","container","which","encapsulates","TOD","metrics","and","does","some","basic","prepocessing","to","handlers","to","calculate","said","metrics",".","This","class","should","generally","not","need","to","be","changed",";","add","new","metrics","handlers","to","`","WORLD_METRIC_HANDLERS","`","(","or","otherwise","override","`","self.handlers","`","of","this","class",")","to","change","metrics","actively","being","used","."]
docstr: This is a bit of a hack so that we can  report whether or not a convo has
  successfully hit all goals and associate this with each episode for the purposes
  of doing filtering.
docstr_tok: ["This","is","a","bit","of","a","hack","so","that","we","can","report","whether","or","not","a","convo","has","successfully","hit","all","goals","and","associate","this","with","each","episode","for","the","purposes","of","doing","filtering","."]
code: def get_last_episode_metrics(self):
      """
      This is a bit of a hack so that we can  report whether or not a convo has
      successfully hit all goals and associate this with each episode for the purposes
      of doing filtering.
      """
      return self.last_episode_metrics
  
file_path: ParlAI/parlai/core/tod/world_metrics.py
imports: from parlai.core.message import Message
  from parlai.core.metrics import Metrics
  from parlai.core.tod.tod_core import TodAgentType, TOD_AGENT_TYPE_TO_PREFIX, SerializationHelpers, STANDARD_GOAL
  from typing import Any, Dict
  import parlai.core.tod.world_metrics_handlers
label_desc: Use image node_id 4 for calling the TodMetrics obj's underlying member method code with example usage: obj.get_last_episode_metrics() and returns: self