def value(self):
if self.buffer:<EOL><INDENT>return np.mean([ep['<STR_LIT:r>'] for ep in self.buffer])<EOL><DEDENT>else:<EOL><INDENT>return <NUM_LIT:0.0><EOL><DEDENT>
Return current value for the metric