MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / metric_steps

Method metric_steps

tests/tools.py:448–451  ·  view source on GitHub ↗
(self, metric_name: str)

Source from the content-addressed store, hash-verified

446 return max(self.metric_steps(metric_name))
447
448 def metric_steps(self, metric_name: str) -> List[int]:
449 if not self.metric_exist(metric_name):
450 raise ValueError(f"Metric '{metric_name}' does not exist.")
451 return list(self._metrics[metric_name].keys())
452
453 def metric_values(self, metric_name: str) -> List:
454 if not self.metric_exist(metric_name):

Callers 4

metric_min_stepMethod · 0.95
metric_max_stepMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95

Calls 1

metric_existMethod · 0.95

Tested by 2

test_trainerMethod · 0.76
test_trainerMethod · 0.76