MCPcopy Create free account
hub / github.com/PRIME-RL/PRIME / is_multi_choice

Function is_multi_choice

eval/Math/Qwen25-Math/evaluation/math_eval.py:151–155  ·  view source on GitHub ↗
(answer)

Source from the content-addressed store, hash-verified

149
150
151def is_multi_choice(answer):
152 for c in answer:
153 if c not in ["A", "B", "C", "D", "E"]:
154 return False
155 return True
156
157
158def main(llm, tokenizer, data_name, args):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected