Get the expected answer for a problem
(problem_id: int)
| 296 | return next((p for p in IMO_2025_PROBLEMS if p["id"] == problem_id), None) |
| 297 | |
| 298 | def 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 | |
| 303 | def get_answer_type(problem_id: int) -> Optional[str]: |
| 304 | """Get the answer type for a problem""" |
nothing calls this directly
no test coverage detected