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

Function get_number

opencompass/datasets/compassbench_obj.py:12–17  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

10
11
12def get_number(options):
13
14 result_string = ''
15 for i, option in enumerate(options, start=65):
16 result_string += f'{chr(i)}. {option}\n'
17 return result_string
18
19
20@LOAD_DATASET.register_module()

Callers 2

loadMethod · 0.70
loadMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected