Skip to main content

Harvard-MIT Mathematics Tournament (HMMT) Final-Answer Benchmark

Evaluates LLM final-answer mathematical reasoning on problems from the Harvard-MIT Mathematics Tournament (February 2024, February 2025, November 2025, February 2026 rounds; 123 problems total). Problems are sourced from official competition materials. Each problem is presented as a single user message with the competition instruction prepended. If no boxed answer is detected, one reprompt is issued. Scoring is purely symbolic via a SymPy-based parser covering integers, fractions, radicals, and closed-form expressions. Accuracy is reported per competition and overall.

Overview

⚠️ External evaluation. Code lives in an upstream repository. inspect_evals lists it for discoverability; review the upstream repo and pinned commit before running.

Source: Mamiglia/inspect-matharena@04caa94

Evaluates LLM final-answer mathematical reasoning on problems from the Harvard-MIT Mathematics Tournament (February 2024, February 2025, November 2025, February 2026 rounds; 123 problems total). Problems are sourced from official competition materials. Each problem is presented as a single user message with the competition instruction prepended. If no boxed answer is detected, one reprompt is issued. Scoring is purely symbolic via a SymPy-based parser covering integers, fractions, radicals, and closed-form expressions. Accuracy is reported per competition and overall.

Usage

Installation

This is an externally-maintained evaluation. Clone the upstream repository at the pinned commit and install its dependencies:

git clone https://github.com/Mamiglia/inspect-matharena
cd inspect-matharena
git checkout 04caa9484fd9d8b9dfb9a153ab1fcdc5dbe0e7ba
uv sync

Running evaluations

CLI

uv run inspect eval src/matharena/tasks/hmmt.py@hmmt --model openai/gpt-5-nano

Python

from inspect_ai import eval
from matharena.tasks.hmmt import hmmt

eval(hmmt(), model="openai/gpt-5-nano")

View logs

Log viewing (inspect view) and default-model setup are documented in the Inspect Evals README.

More information

For the dataset, scorer, task parameters, and validation, see the upstream repo: Mamiglia/inspect-matharena.

Options

You can control a variety of options from the command line. For example:

uv run inspect eval src/matharena/tasks/hmmt.py@hmmt --limit 10 --sample-shuffle
uv run inspect eval src/matharena/tasks/hmmt.py@hmmt --max-connections 10
uv run inspect eval src/matharena/tasks/hmmt.py@hmmt --temperature 0.5

See uv run inspect eval --help for all available options.

More command-line options: Inspect docs ↗

Static checks

Results of inspect-evals-lint at the registered commit. Rule names link to their documentation; findings link to the file at that commit. These checks describe structure and conventions, not whether the evaluation measures what it claims.

Loading lint results…