jweihe/hee
An evolving benchmark for problem posing and solving, graded by Lean and Python
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
HEE is a repository-backed benchmark and grader, not a model-serving stack. Its setuptools package exposes hee.cli:main as the hee command, requires Python 3.9 or newer, and declares no base Python dependencies. The optional science extra declares NumPy >=1.26 and SciPy >=1.11; formal proof checking uses Lean 4 and Mathlib.
The extension unit is a directory under problems/, with a plain-language README.md and a formal specification. Lean handles proofs and disproofs, while Python checks finite constructions, counterexamples and optimization submissions against task-specific criteria. The CLI separates authoring (hee new, hee formalize), submission checking (hee check), and batch evaluation (hee export, hee eval). Models generate attempts outside that grading flow.
Key Capabilities & Differentiators
The contribution workflow evaluates problem posing as well as solving. Drafts can be formalized later, with the formalizer credited alongside the proposer. Original problems still open after five days become candidates for one maintainer review. Admitted problems enter the open benchmark and move to the solved dataset when resolved. Survival determines difficulty tiers at 5, 10, 20, 30 and 50 days; classic open problems use a separate solver award of 20 or 50 points and earn no proposer points.
hee export --after selects reviewed problems published after a chosen date and separates solved answers from prompts and verifiers. Attempts are collected as Lean files or JSON objects, and hee eval --k 1,5 requests results at two attempt budgets. The solved dataset reports solve rate, pass@k and points by difficulty tier, without a judge model or reference-answer matching. A valid answer on the open set can instead be submitted as a new result.
Trade-offs & Limitations
A fixed-answer benchmark is easier to keep stable across regression runs. HEE instead tests whether an attempt satisfies a formal statement or task-specific verifier. This can accept valid solutions that differ from known answers and removes judge-model variability, but it shifts work to precise formalization, verifier quality and maintainer review. A prose proof is not an accepted substitute for a checked artifact.
A post-cutoff export is a useful dataset filter, not proof that the underlying ideas were absent from training data. The live pool changes as tasks are admitted and solved, and survival tiers reflect participation and elapsed time rather than a calibrated difficulty scale. The scoring rules are still provisional. For repeatable model comparisons, freeze the export, repository revision, toolchain and attempt budget instead of comparing live leaderboard totals.
Hardware & Deployment Guide
For a source checkout, install with pip install -e . on Python 3.9+. For Lean grading, the Dockerfile starts from python:3.12-slim, installs Elan, and packages a pinned Lean toolchain with prebuilt Mathlib. It sets HEE_LEAN_PROJECT=/opt/hee/lean; the documented run mounts the caller's workspace at /work and reads the exported release and answer file from that mount.
The image build fetches the Elan installer, so do not assume a fresh build works offline. Once the environment and evaluation files are available, grading does not require a hosted inference service. Budget local CPU, memory and disk for Lean/Mathlib and verification workload; model inference is a separate resource budget. No GitHub release is listed, so pin the repository revision and retain benchmark exports for repeatable comparisons.
hee command maps to hee.cli:main; the base package supports Python 3.9+ with no declared Python dependencies.baseline.py.hee export --after filters reviewed tasks by date and keeps solved answers separate from standard prompts and verifiers.HEE_LEAN_PROJECT=/opt/hee/lean.Research teams evaluating whether models can pose formalizable problems, produce machine-checkable solutions, or improve a concrete optimization baseline.
You need prose-proof grading, turnkey model inference, or a fixed benchmark that stays comparable without preserving your own snapshot.
Quick Start & Installation
hee export --after 2026-06-01 --out release # verifiers, standard prompts, solved answers kept apart hee eval --release release --answers model.jsonl --lean --k 1,5
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/jweihe/hee.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about hee
How do I integrate HEE with an existing model evaluation pipeline?
hee export --after <date> --out release. Generate attempts with your existing inference pipeline, package them as Lean files or JSON objects as appropriate, and grade them with hee eval --release release --answers model.jsonl --lean --k 1,5. Keep solved answers out of the generation inputs and retain the export alongside the run so later comparisons use the same problem set.Does grading require a GPU, and what resources should I budget for?
Can a company run HEE internally or redistribute a customized image?
When should I choose HEE over a fixed math benchmark?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy