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

Method metric_max_step

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

Source from the content-addressed store, hash-verified

443 return min(self.metric_steps(metric_name))
444
445 def metric_max_step(self, metric_name: str) -> int:
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):

Callers 15

test_explorerMethod · 0.95
test_explorerMethod · 0.95
test_explorerMethod · 0.95
test_explorerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainerMethod · 0.95
test_trainer_toolsMethod · 0.95

Calls 1

metric_stepsMethod · 0.95

Tested by 15

test_explorerMethod · 0.76
test_explorerMethod · 0.76
test_explorerMethod · 0.76
test_explorerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainerMethod · 0.76
test_trainer_toolsMethod · 0.76