MCPcopy Create free account
hub / github.com/InternScience/SciReason / _temp_run

Function _temp_run

opencompass/datasets/livecodebench/evaluator.py:29–36  ·  view source on GitHub ↗
(sample, generation, debug, result, metadata_list, timeout)

Source from the content-addressed store, hash-verified

27 """
28
29 def _temp_run(sample, generation, debug, result, metadata_list, timeout):
30 from .testing_util import run_test
31 res, metadata = run_test(sample,
32 test=generation,
33 debug=debug,
34 timeout=timeout)
35 result.append(res)
36 metadata_list.append(metadata)
37
38 manager = multiprocessing.Manager()
39 result = manager.list()

Callers

nothing calls this directly

Calls 1

run_testFunction · 0.70

Tested by

no test coverage detected