# FindStatBench: Evaluating Large Language Models on Combinatorial Code Synthesis

*Soham Dan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139702) · [OpenReview](https://openreview.net/forum?id=9ih6d3ZYp4) · [alphaXiv](https://www.alphaxiv.org/abs/2607.18260) · [Open on the map](../papers.html#p139702)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Software Engineering Benchmarks](../pgroup/646.md) · Type: benchmark or dataset · Keywords: combinatorial code synthesis, LLM evaluation, benchmark, symbolic program induction, code generation

Areas: [LLM Reasoning](../areas/reasoning.md) › Language Model Reasoning › Reasoning Benchmarks; [Code & Coding Agents](../areas/codegen.md) › Code Verification › Coding agent benchmarks; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Software Engineering Benchmarks; [Benchmarks for LLMs & Agents](../areas/bench-llm-agents.md) › Cross-Domain Agent Evaluation › Software Engineering Benchmarks

## Summary
FindStatBench is an execution benchmark for evaluating large language models on combinatorial code synthesis, containing 2,329 tasks across 24 collections and 5.52M hidden instances.

## Explained to a 5-year-old
We made a big test for computer programs that try to solve math puzzles by writing code. The test has many different puzzles, each with a description and a few example answers. The programs have to guess the rule and write a function that works on new puzzles. We gave the programs only a few examples, like a tiny hint. Some programs could solve the puzzles perfectly with zero examples, while others failed even with many examples.

## Explained to a 5-year-old, longer
We made a big test for computer programs that try to solve math puzzles by writing code. The test has many different puzzles, each with a description and a few example answers. The programs have to guess the rule and write a function that works on new puzzles. We gave the programs only a few examples, like a tiny hint. Some programs could solve the puzzles perfectly with zero examples, while others failed even with many examples. We found that giving more examples sometimes made the programs forget the right way to solve the problem. The test also showed that some kinds of puzzles are really hard for the programs, like puzzles about splitting sets or drawing trees. We learned that the programs sometimes used up their space for thinking before they wrote the final code, so they ran out of room to finish. The test helped us understand where computers still struggle when they try to do math on their own. It also showed that bigger computer models are not always better if they cannot focus on the right steps. We hope this test will help scientists make smarter programs that can do more complex math in the future.

## For a technical reader
The paper introduces FindStatBench, a benchmark that measures how well large language models can generate exact Python code for combinatorial problems. Each task provides a problem description and up to five public input-output examples, and the model must output a single solve function that is sandboxed and tested on hidden instances. The authors evaluate eleven systems, including closed-source models and open-weight models, and find that performance gaps are small across sources, but hidden reasoning can consume the response budget, causing failures. The benchmark reveals that statistic synthesis is easier than map synthesis and that long prompts sharply reduce accuracy.

## Problem
Evaluating large language models on combinatorial code synthesis is challenging because models must induce exact symbolic rules from limited examples, and current benchmarks may not capture the difficulty of this task.

## Method
The benchmark comprises two executable families-statistic synthesis and map synthesis-each providing a mathematical description and up to five public input-output examples. Models are required to output a single Python solve function that is evaluated by exact sandboxed execution on hidden instances.

## Results
The strongest open- and closed-source systems converge within about 1 percentage point, while an oracle over all models improves task accuracy by roughly 10 percentage points. Statistic synthesis remains substantially easier than map synthesis, and long prompts induce a sharp accuracy cliff.

## Contributions
We present a benchmark for evaluating large language models on combinatorial code synthesis, analyze model behaviors across different scales and sources, and identify prompt-induced regression and output-budget limitations.

## Limitations and assumptions
The benchmark's fixed response budget can be consumed by hidden reasoning, limiting code emission, and some collections (e.g., set partitions, binary trees) remain near-zero-accuracy, indicating difficulty gaps.

## Practical relevance
It provides a stress test for symbolic program induction, helping guide the development of more robust combinatorial reasoning in language models.

## Research questions this paper is counted under

- [How can we automatically create fresh evaluation tasks for models as existing benchmarks become saturated?](../q/360.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/139702)
