MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / get_expected_answer

Function get_expected_answer

scripts/imo25_reference.py:298–301  ·  view source on GitHub ↗

Get the expected answer for a problem

(problem_id: int)

Source from the content-addressed store, hash-verified

296 return next((p for p in IMO_2025_PROBLEMS if p["id"] == problem_id), None)
297
298def get_expected_answer(problem_id: int) -> Optional[str]:
299 """Get the expected answer for a problem"""
300 problem = get_problem_by_id(problem_id)
301 return problem["expected_answer"] if problem else None
302
303def get_answer_type(problem_id: int) -> Optional[str]:
304 """Get the answer type for a problem"""

Callers

nothing calls this directly

Calls 1

get_problem_by_idFunction · 0.85

Tested by

no test coverage detected