Publish AIME 2026 single-pass low-budget evaluation
Browse filesAll 30 public problems, one response each, low reasoning, 512 completion cap, exact-integer scoring. Custom baseline, not an official MathArena reproduction or independent certification. Existing Typed Decisions and SafeAgents evaluation files preserved.
- .eval_results/aime2026.yaml +13 -0
- README.md +22 -0
- evaluation/aime2026/generation_errors.json +1 -0
- evaluation/aime2026/metrics.json +17 -0
- evaluation/aime2026/responses.jsonl +30 -0
- evaluation/aime2026/run_aime30_low.py +102 -0
- evaluation/aime2026/source_lock.json +8 -0
- public_identity.json +2 -1
.eval_results/aime2026.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: MathArena/aime_2026
|
| 3 |
+
task_id: MathArena/aime_2026
|
| 4 |
+
revision: d61f486805306e6e6b5913504c07763a99e1b112
|
| 5 |
+
value: 100.0
|
| 6 |
+
date: '2026-10-31'
|
| 7 |
+
notes: 'Custom single-pass baseline; all 30 problems; low reasoning; max_completion_tokens=512
|
| 8 |
+
including reasoning; exact final integer scoring; 0 truncated outputs retained
|
| 9 |
+
as measured. Self-reported, not an official MathArena run. Organization: 江苏银行
|
| 10 |
+
(Bank of Jiangsu); public model display name: intellisu-coder-pro.'
|
| 11 |
+
source:
|
| 12 |
+
url: https://huggingface.co/BaiLing/intellisu-coder-pro/tree/main/evaluation/aime2026
|
| 13 |
+
name: All 30 outputs, exact-answer score and dataset source lock
|
README.md
CHANGED
|
@@ -6,6 +6,7 @@ tags:
|
|
| 6 |
datasets:
|
| 7 |
- LocalLLaMA/typed-decisions
|
| 8 |
- harness-hub/safeagents-judge-bench
|
|
|
|
| 9 |
language:
|
| 10 |
- en
|
| 11 |
- zh
|
|
@@ -62,3 +63,24 @@ Full raw responses, binary/category verdicts, metrics and dataset revision/hash
|
|
| 62 |
|
| 63 |
Attribution: harness-hub / SafeAgents Judge Bench, Apache-2.0 as declared by the dataset. This source license does not grant rights to the evaluated API model or its weights. No model weights, original reference-answer data or API credentials are uploaded. [Result YAML](.eval_results/safeagents-judge-bench.yaml).
|
| 64 |
<!-- safeagents-evaluation:end -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
datasets:
|
| 7 |
- LocalLLaMA/typed-decisions
|
| 8 |
- harness-hub/safeagents-judge-bench
|
| 9 |
+
- MathArena/aime_2026
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
- zh
|
|
|
|
| 63 |
|
| 64 |
Attribution: harness-hub / SafeAgents Judge Bench, Apache-2.0 as declared by the dataset. This source license does not grant rights to the evaluated API model or its weights. No model weights, original reference-answer data or API credentials are uploaded. [Result YAML](.eval_results/safeagents-judge-bench.yaml).
|
| 65 |
<!-- safeagents-evaluation:end -->
|
| 66 |
+
|
| 67 |
+
<!-- aime2026-evaluation:start -->
|
| 68 |
+
## AIME 2026 evaluation
|
| 69 |
+
|
| 70 |
+
Model display name: **intellisu-coder-pro**
|
| 71 |
+
Organization display name: **江苏银行 (Bank of Jiangsu)**
|
| 72 |
+
|
| 73 |
+
| Benchmark | Coverage | Protocol | Local self-reported result |
|
| 74 |
+
|---|---:|---|---:|
|
| 75 |
+
| [AIME 2026](https://huggingface.co/datasets/MathArena/aime_2026) | All 30 public problems | Single generated response per problem; exact final-integer comparison | 30/30 (100.0%) |
|
| 76 |
+
|
| 77 |
+
Evaluated 2026-10-31; files published 2026-11-03. Fixed low reasoning and maximum 512 completion tokens including reasoning. All 30 raw responses were bare integers; there were zero truncated or unparsed outputs. API-reported usage was 12,636 tokens across 30 model calls. No resampling, answer-dependent retries or model judge was used. This publication reused saved outputs and did not rerun inference.
|
| 78 |
+
|
| 79 |
+
**This is a custom single-pass, budget-limited baseline, not a reproduced or certified official MathArena leaderboard run.** It does not estimate a multi-sample average, establish unseen-test performance or support an independently verified first-place claim. The benchmark is public, and upstream training exposure is unknown. No training on this benchmark was performed by this runner.
|
| 80 |
+
|
| 81 |
+
Only the problem text and a fixed final-integer instruction were sent to the API. The reference answer field was used only for local comparison after generation. Original reference-answer data are not uploaded. Raw outputs, exact protocol, metrics and source revision/hash are in [`evaluation/aime2026/`](evaluation/aime2026/). The dataset revision is `d61f486805306e6e6b5913504c07763a99e1b112`.
|
| 82 |
+
|
| 83 |
+
Attribution: MathArena / AIME 2026, license declared by the source dataset: **CC-BY-NC-SA-4.0** ([dataset](https://huggingface.co/datasets/MathArena/aime_2026)). This attribution does not assign an open-source license to the evaluated API model or its weights. No model weights or API credentials are included. The metrics JSON retains generation-time local-file status; this model card records the later publication.
|
| 84 |
+
|
| 85 |
+
[Result YAML](.eval_results/aime2026.yaml). Self-reported; no independent-verification badge is claimed.
|
| 86 |
+
<!-- aime2026-evaluation:end -->
|
evaluation/aime2026/generation_errors.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
evaluation/aime2026/metrics.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "intellisu-coder-pro",
|
| 3 |
+
"n": 30,
|
| 4 |
+
"passed": 30,
|
| 5 |
+
"accuracy_percent": 100.0,
|
| 6 |
+
"truncated": 0,
|
| 7 |
+
"unparsed": 0,
|
| 8 |
+
"reasoning_effort": "low",
|
| 9 |
+
"max_completion_tokens": 512,
|
| 10 |
+
"reported_tokens": 12636,
|
| 11 |
+
"http_attempts": 30,
|
| 12 |
+
"protocol": "Custom one-pass low-budget exact-answer baseline. Not a reproduced official MathArena leaderboard run. No resampling or LLM judge.",
|
| 13 |
+
"hf_dataset": "MathArena/aime_2026",
|
| 14 |
+
"hf_task_id": "MathArena/aime_2026",
|
| 15 |
+
"dataset_revision": "d61f486805306e6e6b5913504c07763a99e1b112",
|
| 16 |
+
"publish_status": "prepared_only_user_requested_no_HF_writes"
|
| 17 |
+
}
|
evaluation/aime2026/responses.jsonl
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "1", "model": "intellisu-coder-pro", "response": "277", "prediction": 277, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 182, "completion_tokens": 81, "total_tokens": 263, "completion_tokens_details": {"reasoning_tokens": 74}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 2 |
+
{"id": "2", "model": "intellisu-coder-pro", "response": "62", "prediction": 62, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 101, "completion_tokens": 110, "total_tokens": 211, "completion_tokens_details": {"reasoning_tokens": 103}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 3 |
+
{"id": "3", "model": "intellisu-coder-pro", "response": "79", "prediction": 79, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 153, "completion_tokens": 72, "total_tokens": 225, "completion_tokens_details": {"reasoning_tokens": 65}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 4 |
+
{"id": "4", "model": "intellisu-coder-pro", "response": "70", "prediction": 70, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 72, "completion_tokens": 151, "total_tokens": 223, "completion_tokens_details": {"reasoning_tokens": 144}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 5 |
+
{"id": "5", "model": "intellisu-coder-pro", "response": "65", "prediction": 65, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 172, "completion_tokens": 62, "total_tokens": 234, "completion_tokens_details": {"reasoning_tokens": 55}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 6 |
+
{"id": "6", "model": "intellisu-coder-pro", "response": "441", "prediction": 441, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 86, "completion_tokens": 152, "total_tokens": 238, "completion_tokens_details": {"reasoning_tokens": 145}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 7 |
+
{"id": "7", "model": "intellisu-coder-pro", "response": "396", "prediction": 396, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 106, "completion_tokens": 91, "total_tokens": 197, "completion_tokens_details": {"reasoning_tokens": 84}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 8 |
+
{"id": "8", "model": "intellisu-coder-pro", "response": "244", "prediction": 244, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 86, "completion_tokens": 161, "total_tokens": 247, "completion_tokens_details": {"reasoning_tokens": 154}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 9 |
+
{"id": "9", "model": "intellisu-coder-pro", "response": "29", "prediction": 29, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 212, "completion_tokens": 199, "total_tokens": 411, "completion_tokens_details": {"reasoning_tokens": 192}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 10 |
+
{"id": "10", "model": "intellisu-coder-pro", "response": "156", "prediction": 156, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 140, "completion_tokens": 678, "total_tokens": 818, "completion_tokens_details": {"reasoning_tokens": 671}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 11 |
+
{"id": "11", "model": "intellisu-coder-pro", "response": "896", "prediction": 896, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 190, "completion_tokens": 326, "total_tokens": 516, "completion_tokens_details": {"reasoning_tokens": 319}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 12 |
+
{"id": "12", "model": "intellisu-coder-pro", "response": "161", "prediction": 161, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 215, "completion_tokens": 203, "total_tokens": 418, "completion_tokens_details": {"reasoning_tokens": 196}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 13 |
+
{"id": "13", "model": "intellisu-coder-pro", "response": "39", "prediction": 39, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 185, "completion_tokens": 107, "total_tokens": 292, "completion_tokens_details": {"reasoning_tokens": 100}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 14 |
+
{"id": "14", "model": "intellisu-coder-pro", "response": "681", "prediction": 681, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 124, "completion_tokens": 283, "total_tokens": 407, "completion_tokens_details": {"reasoning_tokens": 276}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 15 |
+
{"id": "15", "model": "intellisu-coder-pro", "response": "83", "prediction": 83, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 285, "completion_tokens": 1320, "total_tokens": 1605, "completion_tokens_details": {"reasoning_tokens": 1313}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 16 |
+
{"id": "16", "model": "intellisu-coder-pro", "response": "178", "prediction": 178, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 77, "completion_tokens": 50, "total_tokens": 127, "completion_tokens_details": {"reasoning_tokens": 43}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 17 |
+
{"id": "17", "model": "intellisu-coder-pro", "response": "243", "prediction": 243, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 384, "completion_tokens": 138, "total_tokens": 522, "completion_tokens_details": {"reasoning_tokens": 131}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 18 |
+
{"id": "18", "model": "intellisu-coder-pro", "response": "503", "prediction": 503, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 164, "completion_tokens": 321, "total_tokens": 485, "completion_tokens_details": {"reasoning_tokens": 314}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 19 |
+
{"id": "19", "model": "intellisu-coder-pro", "response": "279", "prediction": 279, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 157, "completion_tokens": 111, "total_tokens": 268, "completion_tokens_details": {"reasoning_tokens": 104}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 20 |
+
{"id": "20", "model": "intellisu-coder-pro", "response": "190", "prediction": 190, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 272, "completion_tokens": 118, "total_tokens": 390, "completion_tokens_details": {"reasoning_tokens": 111}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 21 |
+
{"id": "21", "model": "intellisu-coder-pro", "response": "50", "prediction": 50, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 96, "completion_tokens": 134, "total_tokens": 230, "completion_tokens_details": {"reasoning_tokens": 127}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 22 |
+
{"id": "22", "model": "intellisu-coder-pro", "response": "754", "prediction": 754, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 146, "completion_tokens": 113, "total_tokens": 259, "completion_tokens_details": {"reasoning_tokens": 106}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 23 |
+
{"id": "23", "model": "intellisu-coder-pro", "response": "245", "prediction": 245, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 110, "completion_tokens": 339, "total_tokens": 449, "completion_tokens_details": {"reasoning_tokens": 332}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 24 |
+
{"id": "24", "model": "intellisu-coder-pro", "response": "669", "prediction": 669, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 119, "completion_tokens": 218, "total_tokens": 337, "completion_tokens_details": {"reasoning_tokens": 211}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 25 |
+
{"id": "25", "model": "intellisu-coder-pro", "response": "850", "prediction": 850, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 181, "completion_tokens": 227, "total_tokens": 408, "completion_tokens_details": {"reasoning_tokens": 220}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 26 |
+
{"id": "26", "model": "intellisu-coder-pro", "response": "132", "prediction": 132, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 139, "completion_tokens": 380, "total_tokens": 519, "completion_tokens_details": {"reasoning_tokens": 373}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 27 |
+
{"id": "27", "model": "intellisu-coder-pro", "response": "223", "prediction": 223, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 175, "completion_tokens": 243, "total_tokens": 418, "completion_tokens_details": {"reasoning_tokens": 236}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 28 |
+
{"id": "28", "model": "intellisu-coder-pro", "response": "107", "prediction": 107, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 168, "completion_tokens": 313, "total_tokens": 481, "completion_tokens_details": {"reasoning_tokens": 306}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 29 |
+
{"id": "29", "model": "intellisu-coder-pro", "response": "157", "prediction": 157, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 215, "completion_tokens": 449, "total_tokens": 664, "completion_tokens_details": {"reasoning_tokens": 442}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
| 30 |
+
{"id": "30", "model": "intellisu-coder-pro", "response": "393", "prediction": 393, "correct": true, "finish_reason": "stop", "usage": {"prompt_tokens": 206, "completion_tokens": 568, "total_tokens": 774, "completion_tokens_details": {"reasoning_tokens": 561}}, "params": {"reasoning_effort": "low", "max_completion_tokens": 512}}
|
evaluation/aime2026/run_aime30_low.py
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Full 30-question, fixed-budget AIME baseline. Generates local HF eval YAML only."""
|
| 2 |
+
import asyncio
|
| 3 |
+
import datetime as dt
|
| 4 |
+
import hashlib
|
| 5 |
+
import io
|
| 6 |
+
import json
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
import re
|
| 9 |
+
|
| 10 |
+
import httpx
|
| 11 |
+
import pandas as pd
|
| 12 |
+
|
| 13 |
+
ROOT=Path(__file__).resolve().parents[1]
|
| 14 |
+
DEST=ROOT/'runs/dynamic_boards/aime2026_low'
|
| 15 |
+
SOURCE='MathArena/aime_2026'
|
| 16 |
+
ALIAS='intellisu-coder-pro'
|
| 17 |
+
TOKEN_BUDGET=25000
|
| 18 |
+
OUTPUT_CAP=512
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def prediction(text):
|
| 22 |
+
text=text.strip()
|
| 23 |
+
if re.fullmatch(r'\d{1,3}',text):return int(text)
|
| 24 |
+
matches=re.findall(r'\\boxed\{(\d{1,3})\}',text)
|
| 25 |
+
if matches:return int(matches[-1])
|
| 26 |
+
matches=re.findall(r'(?i)(?:final answer|answer)\s*(?:is|:|=)?\s*\$?(\d{1,3})(?!\d)',text)
|
| 27 |
+
return int(matches[-1]) if matches else None
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
class Run:
|
| 31 |
+
def __init__(self):
|
| 32 |
+
self.config=json.loads((ROOT/'.private/api.json').read_text())
|
| 33 |
+
self.results={};self.used=0;self.reserved=0;self.calls=0;self.stopped=False
|
| 34 |
+
self.lock=asyncio.Lock();self.sem=asyncio.Semaphore(2)
|
| 35 |
+
|
| 36 |
+
def save(self):
|
| 37 |
+
d={'model':ALIAS,'reasoning_effort':'low','max_completion_tokens':OUTPUT_CAP,'token_budget':TOKEN_BUDGET,'reported_tokens':self.used,'http_attempts':self.calls,'stopped':self.stopped,'results':self.results}
|
| 38 |
+
p=DEST/'checkpoint.json';tmp=p.with_suffix('.tmp');tmp.write_text(json.dumps(d,ensure_ascii=False,indent=2));tmp.replace(p)
|
| 39 |
+
|
| 40 |
+
async def one(self,q):
|
| 41 |
+
identifier=str(q['problem_idx'])
|
| 42 |
+
if identifier in self.results:return
|
| 43 |
+
async with self.sem:
|
| 44 |
+
if self.stopped:return
|
| 45 |
+
messages=[{'role':'system','content':'Solve the mathematics problem. Return only the final integer from 0 through 999. No explanation. If you cannot solve it, return UNKNOWN.'},{'role':'user','content':q['problem']}]
|
| 46 |
+
reserve=sum(len(m['content'].encode()) for m in messages)+500+OUTPUT_CAP
|
| 47 |
+
async with self.lock:
|
| 48 |
+
if self.used+self.reserved+reserve>TOKEN_BUDGET or self.calls>=40:
|
| 49 |
+
self.stopped=True;self.save();return
|
| 50 |
+
self.reserved+=reserve
|
| 51 |
+
try:
|
| 52 |
+
for attempt in range(2):
|
| 53 |
+
if self.stopped:return
|
| 54 |
+
self.calls+=1
|
| 55 |
+
r=await self.client.post(self.config['base_url']+'/chat/completions',headers={'Authorization':'Bearer '+self.config['api_key']},json={'model':self.config['model'],'messages':messages,'reasoning_effort':'low','max_completion_tokens':OUTPUT_CAP})
|
| 56 |
+
data=r.json();usage=data.get('usage') or {}
|
| 57 |
+
self.used+=usage.get('total_tokens',0) or 0
|
| 58 |
+
if r.status_code==429 and attempt==0:
|
| 59 |
+
await asyncio.sleep(15);continue
|
| 60 |
+
if r.status_code!=200:
|
| 61 |
+
self.stopped=True
|
| 62 |
+
(DEST/'api_error.json').write_text(json.dumps({'http_status':r.status_code,'problem_idx':q['problem_idx']},indent=2));return
|
| 63 |
+
choice=data['choices'][0];text=choice['message'].get('content') or ''
|
| 64 |
+
pred=prediction(text)
|
| 65 |
+
self.results[identifier]={'id':identifier,'model':ALIAS,'response':text,'prediction':pred,'correct':pred is not None and pred==int(q['answer']),'finish_reason':choice.get('finish_reason'),'usage':usage,'params':{'reasoning_effort':'low','max_completion_tokens':OUTPUT_CAP}}
|
| 66 |
+
return
|
| 67 |
+
finally:
|
| 68 |
+
self.reserved-=reserve;self.save()
|
| 69 |
+
|
| 70 |
+
async def run(self):
|
| 71 |
+
DEST.mkdir(parents=True,exist_ok=True)
|
| 72 |
+
p=DEST/'checkpoint.json'
|
| 73 |
+
if p.exists():
|
| 74 |
+
d=json.loads(p.read_text());self.results=d['results'];self.used=d['reported_tokens'];self.calls=d['http_attempts']
|
| 75 |
+
metadata=json.loads((ROOT/'.private/dynamic_board_research/small_hf_specs/MathArena__aime_2026/metadata.json').read_text())
|
| 76 |
+
revision=metadata['sha']
|
| 77 |
+
url=f'https://huggingface.co/datasets/{SOURCE}/resolve/{revision}/data/train-00000-of-00001.parquet'
|
| 78 |
+
source=DEST/'source.parquet'
|
| 79 |
+
if not source.exists():
|
| 80 |
+
async with httpx.AsyncClient(timeout=60,follow_redirects=True) as c:r=await c.get(url);r.raise_for_status();source.write_bytes(r.content)
|
| 81 |
+
questions=pd.read_parquet(source).to_dict('records')
|
| 82 |
+
assert len(questions)==30 and len({q['problem_idx'] for q in questions})==30
|
| 83 |
+
(DEST/'source_lock.json').write_text(json.dumps({'dataset':SOURCE,'revision':revision,'url':url,'sha256':hashlib.sha256(source.read_bytes()).hexdigest(),'n':30,'license':'cc-by-nc-sa-4.0'},indent=2))
|
| 84 |
+
async with httpx.AsyncClient(timeout=httpx.Timeout(120,connect=20,pool=10),limits=httpx.Limits(max_connections=2,max_keepalive_connections=2)) as client:
|
| 85 |
+
self.client=client
|
| 86 |
+
outcomes=await asyncio.gather(*(self.one(q) for q in questions),return_exceptions=True)
|
| 87 |
+
errors=[{'id':q['problem_idx'],'error':type(e).__name__+': '+str(e)} for q,e in zip(questions,outcomes) if isinstance(e,Exception)]
|
| 88 |
+
(DEST/'generation_errors.json').write_text(json.dumps(errors,ensure_ascii=False,indent=2));self.save()
|
| 89 |
+
if len(self.results)==30:
|
| 90 |
+
passed=sum(r['correct'] for r in self.results.values());score=100*passed/30
|
| 91 |
+
result={'model':ALIAS,'n':30,'passed':passed,'accuracy_percent':score,'truncated':sum(r['finish_reason']=='length' for r in self.results.values()),'unparsed':sum(r['prediction'] is None for r in self.results.values()),'reasoning_effort':'low','max_completion_tokens':OUTPUT_CAP,'reported_tokens':self.used,'http_attempts':self.calls,'protocol':'Custom one-pass low-budget exact-answer baseline. Not a reproduced official MathArena leaderboard run. No resampling or LLM judge.','hf_dataset':SOURCE,'hf_task_id':SOURCE,'dataset_revision':revision,'publish_status':'prepared_only_user_requested_no_HF_writes'}
|
| 92 |
+
(DEST/'metrics.json').write_text(json.dumps(result,ensure_ascii=False,indent=2))
|
| 93 |
+
(DEST/'responses.jsonl').write_text(''.join(json.dumps(self.results[str(q['problem_idx'])],ensure_ascii=False)+'\n' for q in questions))
|
| 94 |
+
note=f'Custom single-pass baseline; all 30 problems; low reasoning; max_completion_tokens=512 including reasoning; exact final integer scoring; {result["truncated"]} truncated outputs retained as measured. Self-reported, not an official MathArena run.'
|
| 95 |
+
import yaml
|
| 96 |
+
scores=[{'dataset':{'id':SOURCE,'task_id':SOURCE,'revision':revision},'value':score,'date':dt.datetime.now(dt.timezone(dt.timedelta(hours=8))).date().isoformat(),'notes':note}]
|
| 97 |
+
(DEST/'aime2026.yaml').write_text(yaml.safe_dump(scores,allow_unicode=True,sort_keys=False))
|
| 98 |
+
print(json.dumps(result,ensure_ascii=False),flush=True)
|
| 99 |
+
else:print(json.dumps({'completed':len(self.results),'calls':self.calls,'tokens':self.used,'stopped':self.stopped,'errors':errors},ensure_ascii=False),flush=True)
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
if __name__=='__main__':asyncio.run(Run().run())
|
evaluation/aime2026/source_lock.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "MathArena/aime_2026",
|
| 3 |
+
"revision": "d61f486805306e6e6b5913504c07763a99e1b112",
|
| 4 |
+
"url": "https://huggingface.co/datasets/MathArena/aime_2026/resolve/d61f486805306e6e6b5913504c07763a99e1b112/data/train-00000-of-00001.parquet",
|
| 5 |
+
"sha256": "ae72853349a46c5f08666feb42db2d09fb4ac4fd4768c726b29702df21c7768e",
|
| 6 |
+
"n": 30,
|
| 7 |
+
"license": "cc-by-nc-sa-4.0"
|
| 8 |
+
}
|
public_identity.json
CHANGED
|
@@ -12,6 +12,7 @@
|
|
| 12 |
"publication_date": "2026-11-03",
|
| 13 |
"published_evaluations": [
|
| 14 |
"Typed Decisions",
|
| 15 |
-
"SafeAgents Judge Bench"
|
|
|
|
| 16 |
]
|
| 17 |
}
|
|
|
|
| 12 |
"publication_date": "2026-11-03",
|
| 13 |
"published_evaluations": [
|
| 14 |
"Typed Decisions",
|
| 15 |
+
"SafeAgents Judge Bench",
|
| 16 |
+
"AIME 2026"
|
| 17 |
]
|
| 18 |
}
|