30 lines
1.0 KiB
Python

"""HMMT Feb 2026. No official standalone release; MathArena community curation."""
from ..sample import Sample
from ..registry import register_dataset
from ..spec import DatasetSpec
@register_dataset(
DatasetSpec(
name='hmmt26',
source='MathArena/hmmt_feb_2026', # curated by MathArena (HuggingFace)
split='train', # the dataset ships a single split
gen_config={'temperature': 1.0, 'max_tokens': 32768},
prompt_suffix="\nPlease reason step by step, and put your final answer within \\boxed{}",
task_type='math',
tags=['math', 'competition'],
description='HMMT February 2026 (community-curated, no official upstream).',
params={'hub': 'hf_raw'},
)
)
def hmmt26():
def to_sample(record: dict) -> Sample:
return Sample(
input=record['problem'],
target=str(record['answer']).strip(),
metadata={'problem_idx': record.get('problem_idx'), 'problem_type': record.get('problem_type')},
)
return to_sample