← Back to Leaderboard
Hjweihe

jweihe/hee

An evolving benchmark for problem posing and solving, graded by Lean and Python

AI BenchmarkQuickstart ↓
Engineering Health (Methodology)
B+ · 74/100
Maintenance Activity
● Updated today
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption8/25
Release Cadence11/20
License Clarity20/20
DockerCLI
Total Stars
★ 57
24h Growth
+36
7d Growth
+57
Forks
4

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

jweihe/hee Star History (2026-12-01 - 2026-12-04) DAILY STAR HISTORY (4-DAY D1 TELEMETRY) +56 in 3d · avg +19/day 61 31 0 2026-12-01: ★ 12026-12-02: ★ 32026-12-03: ★ 572026-12-04: ★ 57 ★ 57 12-01 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

CLI: The hee command maps to hee.cli:main; the base package supports Python 3.9+ with no declared Python dependencies.
Task contracts: Problem folders pair a plain-language statement with Lean 4 or Python checks; optimization tasks start from a working baseline.py.
Dataset lifecycle: Original problems that survive five days become eligible for maintainer review, then move from the open benchmark to the solved dataset when resolved.
Evaluation isolation: hee export --after filters reviewed tasks by date and keeps solved answers separate from standard prompts and verifiers.
Reporting: The solved dataset supports solve rate, pass@k and points by difficulty tier; survival thresholds are 5, 10, 20, 30 and 50 days.
Container: The Python 3.12 slim image bundles pinned Lean and prebuilt Mathlib, with HEE_LEAN_PROJECT=/opt/hee/lean.
Best For

Research teams evaluating whether models can pose formalizable problems, produce machine-checkable solutions, or improve a concrete optimization baseline.

Skip If

You need prose-proof grading, turnkey model inference, or a fixed benchmark that stays comparable without preserving your own snapshot.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLI
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.

Raw .md ↗
curl -sL https://repoforai.com/repo/jweihe/hee.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

jweihe/hee Star History on RepoForAI

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?

Export a dated problem set with 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?

The documented grading stack is Python plus Lean/Mathlib for formal proofs; it does not require a GPU. Plan CPU and memory around checker workload and concurrent attempts, and disk space around the Lean/Mathlib cache. If you also generate answers locally, any VRAM requirement comes from your chosen model and serving workload, not from HEE.

Can a company run HEE internally or redistribute a customized image?

Yes. The HEE code uses the MIT license, which permits commercial use and self-hosting. Retain the required copyright and license notices when redistributing it, and review the terms of bundled third-party components separately if you distribute a container image.

When should I choose HEE over a fixed math benchmark?

A fixed suite is simpler when the main goal is to compare model versions against an unchanged baseline. HEE is more useful when you also want to evaluate problem posing, grade without a reference answer or judge model, or identify valid solutions to open tasks. Use a dated export for stable comparisons; a live problem pool changes as tasks are admitted and solved.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining jweihe/hee? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature jweihe/hee on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare