← Back to Pull requests

[task-curation] Add NuminaMath-LEAN training data for the Lean proof grader #11095

Closed
unknown closed this pull request without merging on Nov 15, 2026 16:05 UTC
View on GitHub
unknown unknown commented on Nov 09, 2026 06:58 UTC
Author

Add NuminaMath-LEAN as Lean training data for the #10879 grader. The branch is stacked on #10879; the commits after it are new.

The source starts from the 9,475 NuminaMath-LEAN rows where people wrote both the Lean statement and the proof. Each task asks for a proof of the frozen statement, and the row's own proof is its golden control, kept out of the prompt.

A row is left out when it comes from MATH's test split, which holds MATH-500; when Prime's Lean environments list it as broken or misformalized (their lists, pinned by sha256); when its statement doesn't compile with our toolchain, uses the old ∑ x in s syntax, runs code, or proves other theorems before the target; when its proof uses native_decide or sorry or runs code; or when it repeats a miniF2F, ProofNet-Verified or PutnamBench problem (eval_overlap.py).

That leaves 6,834 statements. The human proofs of 4,035 of them compile without sorry on Lean v4.34.1 and Mathlib v4.34.1, exactly as the golden control submits them, and only those become tasks, so every task has a golden control that compiles, whether or not the pipeline samples it. All 4,035 statements validate with the grader's reference check. The list of passing proofs is numina_proofs.json, and check_statements.py numina --write-proofs regenerates it.

Next I can add the 2,654 rows with a human statement and a Kimina-Prover proof as a separate source, as asked in review :)

Part of #10842

Diff: 180 lines (+135 / -45) across 2 files Reviewer: Robertboy18 Review duration: 9186m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 180 lines diff across 2 files
0.36
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.311
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #11095"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 35.5% (MEDIUM) · Higher = larger blast radius
35.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 14% · Safe to merge
14%