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

Method setUp

tests/explorer/scheduler_test.py:1336–1345  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1334
1335class TestRunnerStateCollection(unittest.IsolatedAsyncioTestCase):
1336 def setUp(self):
1337 ray.init(ignore_reinit_error=True)
1338 self.config = get_template_config()
1339 _assign_test_namespace(self.config)
1340 _configure_dummy_models(self.config)
1341 self.config.explorer.runner_per_model = 2
1342 self.config.explorer.runner_state_report_interval = 1
1343 self.config.explorer.max_repeat_times_per_runner = 2
1344 self.config.check_and_update()
1345 self.model_actors = _create_named_model_actors(self.config)
1346
1347 def tearDown(self):
1348 try:

Callers

nothing calls this directly

Calls 5

get_template_configFunction · 0.90
_assign_test_namespaceFunction · 0.85
_configure_dummy_modelsFunction · 0.85
check_and_updateMethod · 0.80

Tested by

no test coverage detected