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

Method metric_exist

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

Source from the content-addressed store, hash-verified

437 return dict(metrics)
438
439 def metric_exist(self, metric_name: str) -> bool:
440 return metric_name in self._metrics
441
442 def metric_min_step(self, metric_name: str) -> int:
443 return min(self.metric_steps(metric_name))

Callers 4

metric_stepsMethod · 0.95
metric_valuesMethod · 0.95
test_explorerMethod · 0.95
test_trainerMethod · 0.95

Calls

no outgoing calls

Tested by 2

test_explorerMethod · 0.76
test_trainerMethod · 0.76