ToolGate: An Executable Acceptance Pipeline for Tool-Dependent Scientific Benchmark Construction
Summary
ToolGate is an executable pipeline for constructing scientific benchmarks that validates generated tasks through executable scripts, random no-tool screening, and tool-using agents, reducing manual labor and enhancing audibility.
View Cached Full Text
Cached at: 09/03/26, 06:00 AM
# ToolGate: An Executable Acceptance Pipeline for Tool-Dependent Scientific Benchmark Construction
Source: [https://arxiv.org/html/2609.02067](https://arxiv.org/html/2609.02067)
###### Abstract
Scientific benchmarks are commonly built by domain experts who write tasks and cross\-check one another’s work, or who adapt existing material from textbooks, published papers, and online resources\. These routes can produce strong evaluations, but they require substantial per\-item labor\. Language models can reduce this repeated work by proposing candidates quickly\. The remaining problem is acceptance\. We target scientific questions whose answers require computations with specialist software rather than unaided reasoning alone\. A candidate is invalid if its script fails or returns a different answer, or trivial if a model answers it without the software\. We present ToolGate, which treats every generated item as a proposal and keeps it only if three gates pass\. First, an executable solution script must reproduce the proposed answer when run with the scientific software\. Second, randomized no\-tool screening rejects candidates that models can already solve from the prompt alone\. Third, a tool\-using agent must solve each survivor within a fixed time limit\. We instantiate ToolGate in FEniCSx with 500 generation attempts\. The local\-verification gate retains 478 candidates\. For final reporting, we rescreen this pool after generation: two randomized no\-tool screens exclude 222 from the reported pool, and direct GPT\-5\.5 API calls at medium reasoning \(the API default\) exclude another 121\. Of the remaining 135, a GPT\-5\.5 Codex CLI agent with access to FEniCSx solves 130; exact deduplication leaves 128 unique protocol survivors\. ToolGate turns repeated answer checking and difficulty screening into an auditable process while leaving domain design and final review to experts\.
University of California, Riverside
Riverside, CA, USA
kzhan153@ucr\.edu, yliu937@ucr\.edu, royaz@ucr\.edu, maziar\.raissi1@ucr\.edu
## Introduction
Scientific benchmarks are commonly built by domain experts who write tasks and cross\-check one another’s work, or who adapt existing material\. GPQA asks domain experts to write questions and other experts to solve and validate them\([Rein et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib1)\)\. Scientific\-agent benchmarks including ScienceAgentBench, SciCode, and CORE\-Bench adapt tasks, data, and code from published research, followed by expert curation and review\([Chen et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib6);[Tian et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib7);[Siegel et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib8)\)\. These approaches can produce strong evaluations, but they repeat expensive work for every item: writing or extracting a task, solving it, and independently checking the result\.
Language models can reduce this labor by quickly proposing a question, an answer, and an attempted solution\. These outputs still need to be checked\. The attempted solution may fail or return a different answer\. The question may also be too easy: a model may answer it from wording, prior knowledge, or reasoning alone\. Such a question is not useful for evaluating whether a model can use scientific software\. Prior work addresses related problems in other settings\. APIGen and AutoCodeBench execute and filter generated data to check correctness, while AutoBencher measures and optimizes question difficulty\([Liu et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib5);[Chou et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib4);[Li et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib3)\)\. Generating candidates quickly therefore does not solve the main problem: we still need to check each one and decide whether to keep it\.
We present ToolGate, a pipeline that checks each generated candidate before accepting it\. In our study, each candidate contains a question, four answer options, a proposed answer, and a solution script that calls scientific software\. The multiple\-choice format lets every stage compare its result with the same proposed answer automatically\. ToolGate uses three gates \(Figure[1](https://arxiv.org/html/2609.02067#Sx2.F1)\)\. First, it runs the script and requires its result to agree with the proposed answer\. Second, it asks models to answer using only the question and options, without access to the scientific software, and rejects candidates those models can solve\. Third, it gives the remaining candidates to an agent that can write and run code with the software, and keeps those it solves\. A candidate passes only if it meets all three conditions\.
ToolGate can be used when scientific software can be called from code and produces outputs that can be checked automatically\. We test it with the FEniCSx finite\-element software stack\([Baratta et al\. 2023](https://arxiv.org/html/2609.02067#bib.bib15)\)\. FEniCSx is a widely used open\-source platform for solving partial differential equations with the finite\-element method\. A user describes meshes, function spaces, and variational forms in Python, and FEniCSx assembles and solves the resulting numerical systems\. Our questions ask for exact outputs from multistep FEniCSx computations, so the intended solution is to write and run code\.
Of 500 generated candidates, 478 have scripts that reproduce their proposed answers\. For final reporting, we rescreen these candidates after generation\. Two randomized no\-tool screens exclude 222 from the reported pool, leaving 256\. Direct GPT\-5\.5 API calls at medium reasoning \(the API default\), without access to FEniCSx, exclude another 121\. Of the remaining 135, a GPT\-5\.5 Codex CLI agent with access to FEniCSx solves 130 under the reported test settings\. These results show that asking an LLM to generate a tool\-dependent question is not enough\. We must test whether the specified models fail without the software and whether a tool\-enabled agent succeeds with it\.
These measurements are reliable only if the screening protocol is sound\. We show that a fixed option order lets a model’s letter preferences masquerade as question difficulty, and that unconstrained generation repeatedly produces a few templates that often pass; the reported screens therefore randomize option order and grade by answer value, and exact duplicate questions are removed before release\.
Our contributions are:
- •ToolGate, which accepts a generated candidate only if its script reproduces the proposed answer, none of the specified no\-tool screens answers it by majority, and the specified tool\-enabled agent succeeds;
- •a 500\-attempt FEniCSx study in which 478 candidates pass local verification, followed by post\-generation rescreening in which two randomized no\-tool screens exclude 222 from the reported pool, a GPT\-5\.5 no\-tool API screen at medium reasoning excludes another 121, and a GPT\-5\.5 Codex CLI agent with access to FEniCSx solves 130 of the remaining 135, leaving 128 unique protocol survivors after exact deduplication; and
- •an analysis showing how the screening model and answer presentation change which candidates survive, together with randomized value grading and exact deduplication as practical safeguards\.
## ToolGate
ToolGate treats every model output as a candidate rather than an accepted benchmark item\. Each candidate contains a question, four answer options, the generator’s proposed answer, and a solution script that uses the target scientific software\. A generator proposes the candidate, three gates test it, and the outcome is saved for the next generation round \(Figure[1](https://arxiv.org/html/2609.02067#Sx2.F1)\)\.
Figure 1:The ToolGate loop\. A generator proposes a complete candidate—question, options, proposed answer, and solution script—and three gates decide whether to keep it\. Each gate leaves a machine\-readable record, and every outcome is appended to the run database\.### Candidate generation
The generator works in an environment that contains the target software, so it can write and test code while constructing a candidate\. Its prompt provides a domain guide, a small set of expert\-written seeds, and recent gate outcomes\. It must return the question, options, proposed answer, and runnable solution in a fixed file format\. The prompt also asks for distractors based on realistic modeling or implementation errors\. The saved solution is checked independently; the generator’s own execution is not treated as evidence that the candidate is correct\.
### Acceptance gates
#### Local verification\.
A verifier runs the submitted solution in the target environment against an input copy that omits the proposed answer\. The candidate passes only if the script finishes, prints exactly one answer, and that answer matches the generator’s proposal\. This gate checks that the saved computation reproduces the proposed answer; it does not judge whether the question is difficult\.
#### No\-tool screening\.
A no\-tool screen is one model at one reasoning setting\. It receives only the question and options, with no files, code execution, retrieval, submitted solution, or target software\. The model answers three independently randomized presentations of the candidate, and grading maps each selected value back to the original option\. If the model answers correctly in at least two calls, the candidate is rejected as too easy under that screen\. A candidate passes the no\-tool gate only if it passes every specified screen\.
#### Tool\-enabled solving\.
The remaining candidates go to an agent in a fresh workspace with the target software and code execution\. The agent sees the public question and options, but not the proposed answer or the generator’s solution\. It must implement its own solution and return one option within a fixed time limit\. Candidates it solves are accepted; the rest are flagged for review\. This final gate separates questions that are hard without the software from questions that are simply underspecified, broken, or beyond the tested agent’s budget\.
### Feedback and recorded evidence
Every attempt, including every rejection, is appended to the run database\. Before the next round, the generator receives recent outcomes and a summary of repeated local\-verification failures, and is asked to change approach when a failure recurs\. Only these in\-loop outcomes enter the generator’s prompt; post\-hoc audits do not affect generation\.
Passing remains relative to the reported test conditions\. A stronger no\-tool model may solve a retained candidate, while a different tool agent or time budget may change the final result\. ToolGate therefore saves the model, reasoning setting, option presentation, time limit, and outcome for every call\. The retained item and this record are released together\.
## FEniCSx Experimental Setup
### Tasks and seeds
We study the FEniCSx ecosystem\([Baratta et al\. 2023](https://arxiv.org/html/2609.02067#bib.bib15)\): DOLFINx for finite\-element solves, UFL for variational forms\([Alnæs et al\. 2014](https://arxiv.org/html/2609.02067#bib.bib16)\), and Basix for element definition and tabulation\([Scroggs et al\. 2022](https://arxiv.org/html/2609.02067#bib.bib18)\)\. Its workflows combine mesh construction, finite\-element spaces, numerical assembly, and post\-processing\. They produce precise answers that are difficult to obtain by hand but can be checked by running modest programs\.
The generator receives five expert\-written seed items\. All five are variants of a nonlinear Poisson problem on a punctured square, with different forcing, boundary conditions, and quantities of interest\. The generator is not limited to these templates\. It produces tasks involving deformed meshes, variational problems, quadrature, and Basix element operations\.
### Models and execution settings
Table[1](https://arxiv.org/html/2609.02067#Sx3.T1)lists the models used in the construction loop\. The generator, submitted solution scripts, and tool solver have access to the FEniCSx environment\. The no\-tool screen uses direct API calls and receives only the public question and options\.
Table 1:Model roles in the original FEniCSx construction loop\. The generator and tool solver can execute code and access FEniCSx; the no\-tool screen cannot\.
The no\-tool screen makes three calls and rejects a candidate when at least two are correct\. The generator, each submitted solution, and each tool\-solver run have a 300\-second wall\-clock limit\. The solver works in a fresh workspace and returns its answer through a single\-answer file\. The generator receives outcome counts, the 20 most recent database records, and a summary of repeated local failures\.
### End\-to\-end example
The following is the full public question for one generated candidate \(item 0023\):
> In DOLFINx, create a17×1417\{\\times\}14triangular unit\-square mesh with right diagonals\. Before moving any coordinates, mark the original left boundaryx=0x=0and top boundaryy=1y=1as Dirichlet facets, and the original right boundaryx=1x=1and bottom boundaryy=0y=0as Neumann facets\. Move each original coordinate\(x,y\)\(x,y\)to\(X,Y\)\(X,Y\)using X=x\+0\.041sin\(2πy\)\+0\.017xy−0\.009y2\+0\.004x2y,X=x\+0\.041\\sin\(2\\pi y\)\+0\.017xy\-0\.009y^\{2\}\+0\.004x^\{2\}y,Y=y\+0\.027sin\(πx\)sin\(2πy\)\+0\.019x2−0\.014xy\+0\.006y2\.\\begin\{array\}\[\]\{rl\}Y=&y\+0\.027\\sin\(\\pi x\)\\sin\(2\\pi y\)\+0\.019x^\{2\}\\\\ &\{\}\-0\.014xy\+0\.006y^\{2\}\.\\end\{array\}On the moved mesh, solve in the continuous degree\-one Lagrange space foruhu\_\{h\}satisfying ∫a∇uh⋅∇vdx=∫fvdx\+∫gvds\\int a\\nabla u\_\{h\}\\\!\\cdot\\\!\\nabla v\\,dx=\\int fv\\,dx\+\\int gv\\,dson the marked Neumann facets, withuh=uDu\_\{h\}=u\_\{D\}on the marked Dirichlet facets\. Use the moved coordinates in all coefficient functions: a=0\.88\+0\.24X−0\.13Y\+0\.05XY\+0\.031X2\+0\.017Y2,f=1\.07−0\.36X\+0\.29Y\+0\.18XY−0\.11X2\+0\.07Y2\+0\.05X2Y,g=−0\.09\+0\.14X\+0\.06Y−0\.035XY\+0\.022Y2,uD=0\.16\+0\.31X−0\.27Y\+0\.05XY\+0\.028X2−0\.034Y2\.\\begin\{array\}\[\]\{rl\}a=&0\.88\+0\.24X\-0\.13Y\+0\.05XY\\\\ &\{\}\+0\.031X^\{2\}\+0\.017Y^\{2\},\\\\ f=&1\.07\-0\.36X\+0\.29Y\+0\.18XY\\\\ &\{\}\-0\.11X^\{2\}\+0\.07Y^\{2\}\+0\.05X^\{2\}Y,\\\\ g=&\-0\.09\+0\.14X\+0\.06Y\-0\.035XY\\\\ &\{\}\+0\.022Y^\{2\},\\\\ u\_\{D\}=&0\.16\+0\.31X\-0\.27Y\+0\.05XY\\\\ &\{\}\+0\.028X^\{2\}\-0\.034Y^\{2\}\.\\end\{array\}After solving, compute J=∫Ωh\[\(0\.71−0\.12X\+0\.18YOPEN\+0\.064XY\+0\.027X2−0\.021Y2\)uh2\+0\.042\|∇uh\|2\+0\.018uh\(X−0\.52Y\+0\.13XY\)\]dx\.\\begin\{array\}\[\]\{rl\}J=&\\displaystyle\\int\_\{\\Omega\_\{h\}\}\\big\[\(0\.71\-0\.12X\+0\.18Y\\\\ &\{\}\+0\.064XY\+0\.027X^\{2\}\-0\.021Y^\{2\}\)u\_\{h\}^\{2\}\\\\ &\{\}\+0\.042\|\\nabla u\_\{h\}\|^\{2\}\\\\ &\{\}\+0\.018u\_\{h\}\(X\-0\.52Y\+0\.13XY\)\\big\]\\,dx\.\\end\{array\}Use quadrature degree 5 for the volume and boundary forms\. ReportJJrounded to exactly six decimal places\. \(A\) 0\.058996 \(B\) 0\.060723 \(C\) 0\.060074 \(D\) 0\.061291
The database records the complete in\-loop path for this candidate:
- •local verification runs the submitted script and returns \(B\), matching the proposed answer;
- •the original GPT\-5\.4 no\-tool screen answers \(C\) in all three fixed\-order calls, for zero correct answers; and
- •the independent GPT\-5\.5 Codex CLI solver uses FEniCSx and returns \(B\), so the candidate is accepted by the construction loop\.
## Results
### Construction run
We ran the generator for 500 rounds against a fresh FEniCSx database\. Local verification rejected 22 candidates whose scripts failed or did not reproduce their proposed answers, leaving 478 \(95\.6%\)\. The original in\-loop no\-tool screen used GPT\-5\.4 with reasoning disabled\. It marked 260 of the 478 candidates as easy and rejected them\. The remaining 218 entered the tool gate, where the GPT\-5\.5 Codex CLI agent solved 212 with FEniCSx and failed on six\.
Figure 2:The original construction run\. Of 500 generated candidates, 478 pass local verification, 218 pass the in\-loop GPT\-5\.4 no\-tool screen, and the GPT\-5\.5 Codex CLI agent, configured for medium reasoning and given access to FEniCSx, solves 212\. These are the outcomes recorded during generation; later audits define the stricter reported pool\.These counts describe the construction run exactly, including the feedback seen by the generator\. They do not define the final reported pool\. The original no\-tool screen used a fixed answer order; a later audit found that answer position affected its decisions\. Section[Protocol Audits and Corrections](https://arxiv.org/html/2609.02067#Sx5)reports that audit, the corrected no\-tool screens, and the resulting conservative pool\.
### Resource use
Five expert\-written seeds and one domain guide are shared across the full run\. The 500 generator calls consume 29\.4 agent\-hours, and the 218 tool\-solve calls made during the construction loop consume 5\.49 agent\-hours\. These are compute measurements, not a controlled comparison with human authors\. They show the operational change introduced by ToolGate: experts define the domain and review the output, while the pipeline performs repeated implementation, execution, and screening\.
Table 2:Measured resource use for the construction loop\. Times are agent wall\-clock totals; local verification uses only local compute\.
## Protocol Audits and Corrections
The original construction loop used a fixed answer order\. Its GPT\-5\.4 screen sent 218 candidates to the tool gate, which accepted 212\. We report this as a pilot outcome, not as the final yield, because the following audit shows that the no\-tool decision was partly driven by answer position\. The corrected and cross\-family results, the stronger no\-tool screen, and the final reported pool were all computed after generation and never entered the generator’s feedback memory\. Together, these post\-generation checks leave 130 tool\-solvable candidates and 128 unique protocol survivors after exact deduplication\. The following subsections explain how this conservative pool is formed\.
### Answer presentation
The original fixed\-order screen was sensitive to answer position\. The generator placed the proposed answer at C in 43\.9% of verified candidates, while GPT\-5\.4 selected C in 66% of its calls\. Its per\-call accuracy was 86\.0% when C was correct and 29\.4% otherwise\. We therefore repeated the screen with independently shuffled options and value\-based grading; positional accuracy then ranged from 28% to 33%\. Under this corrected protocol, 191 of the pilot’s 260 fixed\-order “easy” labels no longer remain easy\. All post\-generation results use the corrected protocol\.
Randomization removes the letter cue but not every answer cue\. The proposed answer is one of the two middle numeric values in 80% of verified candidates, so a middle\-value heuristic succeeds on 40\.0%\. Future runs should balance distractor ranks as well as randomize their displayed positions\. We also use fresh permutation seeds for release so that the retained pool is not tied to the screening permutations used in this study\.
### Cross\-family validation
#### No\-tool screening\.
After correcting the GPT\-5\.4 presentation, we ask whether the result depends on the OpenAI model family\. We screen all 478 locally verified candidates with the held\-out Claude Opus 4\.8 family\. As with GPT\-5\.4, Opus receives three direct API calls per candidate, with independently shuffled options and no files, code execution, or FEniCSx\. A model solves a candidate if at least two of its three answers are correct\. Of the 351 candidates that the shuffled GPT\-5\.4 screen fails to solve, Opus also fails on 256 \(72\.9%\)\. Of the 127 that the shuffled GPT\-5\.4 screen solves, Opus also solves only 55 \(43\.3%\)\. Overall, the models agree on 311 of 478 candidates \(65\.1%\) and disagree on 167 \(34\.9%\)\. We use the 256 candidates that neither model solves as the input to the stronger GPT\-5\.5 screen\.
#### Tool\-enabled solving\.
Tool\-enabled solvability transfers more strongly across model families\. We run the held\-out Claude Opus 4\.8 tool agent on the same 212 candidates already solved by the GPT\-5\.5 tool agent\. Opus solves 209 \(98\.6%\); its three failures are timeouts, not wrong answers\. Thus, nearly every candidate solved by the GPT\-5\.5 agent is also solved by the Opus agent\. Table[3](https://arxiv.org/html/2609.02067#Sx5.T3)places the no\-tool and tool\-agent transfer rates side by side\.
Table 3:Cross\-family transfer under the no\-tool and tool\-enabled protocols\. The no\-tool rows cover all 478 locally verified candidates\. The tool\-agent row uses a cohort selected because GPT\-5\.5 solved it, so it measures one\-way transfer to Opus rather than an unbiased agent ranking\. The original fixed\-order GPT\-5\.4 results are not used in this table\.The Opus audit consumes 4\.31 agent\-hours, with a median of 61\.8 seconds per item\. Together, the no\-tool and tool\-agent checks show that model family can change which candidates appear difficult, while tool\-enabled solvability transfers almost completely on this cohort\.
### Stronger no\-tool reasoning
Our goal is not merely to find candidates that defeat inexpensive screens\. A question is useful for evaluating scientific tool use only if a strong model still cannot solve it from the prompt alone\. The first two no\-tool screens identify questions answerable from prior knowledge, option cues, or limited unaided reasoning, leaving 256 candidates for the stronger check\. Passing those screens does not yet show that software is needed: a stronger model may still derive the answer with more reasoning but without FEniCSx\.
This rescreen is a post\-generation reporting filter, not part of the original generation loop\. We therefore apply GPT\-5\.5 at medium reasoning—the API default when the request omits thereasoning\_effortfield—while continuing to withhold files, code execution, and FEniCSx\. It solves 121 of the 256 candidates by majority\. These candidates do not satisfy the stricter post\-generation no\-tool criterion and are excluded from the reported pool\. The remaining 135 pass this third no\-tool screen\.
The 135 candidates then enter the final tool check\. Of these, 68 had already passed the in\-loop tool gate\. We send the other 67 to the same GPT\-5\.5 Codex CLI agent with FEniCSx; it solves 62 and fails on five\. The reported pool therefore contains 130 tool\-solvable candidates\. Exact question deduplication removes two copies, leaving 128 unique protocol survivors\. Table[4](https://arxiv.org/html/2609.02067#Sx5.T4)summarizes this corrected post\-generation flow\.
Table 4:Post\-generation audit and final reported pool\. The corrected audit restarts from all 478 locally verified candidates because the original fixed\-order screen was position\-biased\. “Solved” means exclusion in the no\-tool rows; “failed” means exclusion in the tool\-enabled row\.As a diagnostic, we also run GPT\-5\.5 with reasoning explicitly disabled on the same 256 candidates; it solves 49 by majority\. This run does not affect acceptance\. The two runs are stochastic and their solved sets are not nested\. Neither run affected the original construction loop or the generator’s memory\.
Among the 212 candidates accepted by the original construction loop, 115 remain unsolved by both randomized no\-tool screens\. On this fixed diagnostic cohort, direct GPT\-5\.5 calls solve 16 with reasoning disabled and 47 at medium reasoning \(the API default\), while the Codex CLI agent at medium reasoning with access to FEniCSx solves all 115\. These are parallel measurements on the same cohort, not a sequential filter; the reasoning\-disabled run does not affect acceptance\.
## Related Work
We do not propose a new agent or a new scientific task\. Our contribution is upstream: an acceptance pipeline for generated evaluation candidates\. It puts three forms of evidence on each retained item—local verification, no\-tool failure, and tool\-enabled success\.
#### Expert authorship and automatic construction\.
GPQA\([Rein et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib1)\)and ScienceAgentBench\([Chen et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib6)\)are reference points for expert\-built scientific evaluation\. ToolGate retains experts for domain design and final review, but moves repeated execution and difficulty screening into a shared automated process\. HellaSwag\([Zellers et al\. 2019](https://arxiv.org/html/2609.02067#bib.bib2)\)established adversarial filtering, AutoBencher\([Li et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib3)\)searches for items that expose model failures, and AutoCodeBench\([Chou et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib4)\)checks generated programming tasks by sandboxed execution\. ToolGate combines these ideas around a scientific oracle: the software reproduces the label, a no\-tool model must fail, and a tool\-enabled agent must succeed\. Because static benchmarks decay through contamination and saturation\([White et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib9)\), the executable pipeline also supports repeated generation and re\-screening\.
#### Tool\-use data and scientific agents\.
APIGen\([Liu et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib5)\)is the closest generic precedent: it filters generated function\-calling data through format, execution, and LLM\-judged checks, while EigenData\([Chen et al\. 2026](https://arxiv.org/html/2609.02067#bib.bib11)\)synthesizes and audits function\-calling environments\. Both target general tool\-use data rather than scientific evaluation\. Execution\-based agent benchmarks such asτ2\\tau^\{2\}\-bench\([Barres et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib12)\)verify environment state; BrowseComp\([Wei et al\. 2025](https://arxiv.org/html/2609.02067#bib.bib10)\)exposes the value of an external tool, and ToolFailBench\([Soni 2026](https://arxiv.org/html/2609.02067#bib.bib13)\)constructs tool\-required tasks and controls\. ToolGate instead makes no\-tool failure and tool\-enabled success per\-item acceptance criteria\. Scientific\-agent suites—SciCode, CORE\-Bench, and SciAgentArena\([Tian et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib7);[Siegel et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib8);[Liu et al\. 2026](https://arxiv.org/html/2609.02067#bib.bib14)\)—evaluate agents on curated or research\-derived tasks, and ChemCrow\([Bran et al\. 2024](https://arxiv.org/html/2609.02067#bib.bib17)\)demonstrates scientific work with expert tools\. Our contribution is upstream: generating and filtering new atomic candidates whose answers are reproduced by the scientific software itself\.
## Discussion
The study supports one central claim: an executable generation\-and\-acceptance pipeline can construct candidates that exhibit a measured tool gap\. Of the 478 locally verified candidates, the sequential no\-tool screens exclude 343, leaving 135; the specified tool\-enabled agent solves 130 of them, and exact deduplication leaves 128 unique protocol survivors\. Generation and executable label verification alone would therefore overstate the useful yield\. The acceptance layer is the main contribution: it moves repeated answer computation and difficulty screening out of the per\-item expert loop while retaining a record of why each candidate passed\. This conclusion, however, is only as reliable as the gates used to measure it\.
#### No\-tool difficulty is protocol\-relative\.
The no\-tool gate, like any measurement instrument, is protocol\-dependent and susceptible to artifacts\. Fixed option order let two letter priors—the generator’s and the screener’s—masquerade as difficulty structure\. Randomized, value\-graded screening removes the letter cue, but model family still changes which candidates survive: GPT\-5\.4 and Opus disagree on 167 of 478 candidates \(34\.9%\) under the randomized screens\. By contrast, on the selected tool\-enabled cohort, 209 of the 212 GPT\-5\.5 successes also transfer to Opus\. No\-tool failure is therefore evidence under named models and presentation rules, not an intrinsic property of an item\. Reporting cue\-exploiting baselines makes residual artifacts visible, and value\-rank balance must be imposed at generation time because no post\-hoc permutation can repair it\.
#### Gate ordering controls cost\.
The local\-verification gate uses local compute, and each short no\-tool screen uses three direct calls with no workspace\. The medium\-reasoning screen uses a larger inference budget, so in the corrected audit we run it only on the 256 candidates that survive the lighter screens, not all 478\. This ordering is a practical design principle for future production runs: expensive measurements are reserved for fewer candidates\. The supplementary material reports the complete reasoning\-mode protocols, outcome records, set overlaps, and token accounting\.
#### Outcome memory does not ensure diversity\.
Outcome memory tells the generator what recently failed, but it does not ask for diversity\. The earlier 212\-candidate fixed\-order in\-loop cohort concentrates in two families: 147 Basix interpolation items and 63 DOLFINx deformed\-mesh items, together covering 210 of 212 candidates\. At token Jaccard similarity≥0\.7\\geq 0\.7, the largest cluster contains 66% of them, and five items are exact repeats\. In the reported 130 protocol survivors, exact question deduplication removes two copies and leaves 128 unique\. Seed examples are therefore steering controls rather than prerequisites\. To target other FEniCSx problem types or topics, a run can replace or rotate the seed set; the pipeline can also start with no seed examples and let the generator adapt its proposals from accumulated gate outcomes\. Neither option by itself guarantees coverage\. Future production runs should combine such seed policies with topic quotas and novelty penalties against accepted history\. Yield without concentration statistics is not enough\.
#### Limitations\.
The acceptance result is protocol\-relative, not absolute\. A different model, inference budget, or majority threshold can move candidates across the gate\. We also compare different scaffolds: the no\-tool screen is a direct call, whereas the tool\-enabled solver is a multi\-turn agent with a workspace\. The reported gap therefore bundles tool access with iteration and scaffolding; it is not a causal estimate of tool access alone\. We do not measure human difficulty\.
The protocol\-surviving pool is selected for tool\-enabled success, so it is not designed to rank the same strong agents that define it\. The multiple\-choice format has a 25% guessing floor and leaks magnitude information through numeric options\. Six\-decimal answers also make some items computation\-required because of precision rather than conceptual depth\. All candidates come from one generator family and one domain, and the run concentrates on two templates\. Transfer to other tools remains future work\.
The three gates establish operational rather than complete semantic validity\. They test whether the submitted script reproduces the proposed answer, whether specified models fail without tools, and whether a specified tool\-enabled agent succeeds\. A post\-hoc audit identified a recurring FEniCSx data\-layout defect in 97 of the 130 pre\-deduplication protocol survivors and left five cases unresolved; 28 were not implicated by this specific check, but were not thereby proved correct\. This finding does not change the recorded gate outcomes, but it shows that executable label reproduction alone cannot detect every mismatch between a question and its intended computation\. Because the observed defect is recurring and mechanically characterizable, it appears amenable to an additional domain\-specific executable gate\. More generally, ToolGate is modular: new semantic checks can be inserted as failure modes are identified\.
#### Availability\.
We will release the candidates with solution scripts, gate records, and audit flags; the run database including rejected candidates; screening logs; and the pipeline code\. These artifacts make the pipeline and its observed failure modes reproducible and support the addition of further gates\.
## Conclusion
We presented ToolGate, an executable acceptance pipeline for generated scientific evaluation candidates\. A generator proposes each item; a solution script must reproduce its proposed answer, randomized no\-tool calls must fail, and a tool\-using agent must succeed\. In 500 FEniCSx attempts, 478 candidates reproduce their proposed answers\. The sequential no\-tool screens exclude 343, and the full reported protocol leaves 130 candidates before exact deduplication and 128 unique protocol survivors after it\. This reduction is the main result: generation is fast, but tool dependence must be measured and selected for\. ToolGate shifts repeated software execution and difficulty screening from per\-item expert labor into an auditable process\. Each result remains tied to named models, budgets, and presentation rules, so the same process can be rerun as those conditions change\.
## Ethical Statement
This work generates synthetic scientific evaluation questions, which can be mistaken or misleading if released without their status records\. We report all gate outcomes and retain expert review as a release step\. The items use standard open\-source scientific software and add no domain\-specific dual\-use capability\.
## References
- Alnæset al\.\(2014\)M\. S\. Alnæs, A\. Logg, K\. B\. Ølgaard, M\. E\. Rognes, and G\. N\. WellsUnified form language: a domain\-specific language for weak formulations of partial differential equations\.ACM Transactions on Mathematical Software40\(2\),pp\. 1–37\.Cited by:[Tasks and seeds](https://arxiv.org/html/2609.02067#Sx3.SSx1.p1.1)\.
- Barattaet al\.\(2023\)I\. A\. Baratta, J\. P\. Dean, J\. S\. Dokken, M\. Habera, J\. S\. Hale, C\. N\. Richardson, M\. E\. Rognes, M\. W\. Scroggs, N\. Sime, and G\. N\. WellsDOLFINx: the next generation FEniCS problem solving environment\.Journal of Open Source Software8\(84\),pp\. 5120\.Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p4.1),[Tasks and seeds](https://arxiv.org/html/2609.02067#Sx3.SSx1.p1.1)\.
- Barreset al\.\(2025\)V\. Barres, H\. Dong, S\. Ray, X\. Si, and K\. Narasimhanτ2\\tau^\{2\}\-Bench: evaluating conversational agents in a dual\-control environment\.arXiv preprint arXiv:2506\.07982\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Branet al\.\(2024\)A\. M\. Bran, S\. Cox, O\. Schilter, C\. Baldassari, A\. D\. White, and P\. SchwallerAugmenting large language models with chemistry tools\.Nature Machine Intelligence6,pp\. 525–535\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Chenet al\.\(2026\)J\. Chen, J\. Qi, M\. Gao, W\. Wang, H\. Wang, and D\. JinEigenData: a self\-evolving multi\-agent platform for function\-calling data synthesis, auditing, and repair\.arXiv preprint arXiv:2603\.05553\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Chenet al\.\(2025\)Z\. Chen, S\. Chen, Y\. Ning, Q\. Zhang, B\. Wang, B\. Yu, Y\. Li, Z\. Liao, C\. Wei, Z\. Lu,et al\.ScienceAgentBench: toward rigorous assessment of language agents for data\-driven scientific discovery\.InInternational Conference on Learning Representations,Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p1.1),[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.
- Chouet al\.\(2025\)J\. Chou, A\. Liu, Y\. Deng, Z\. Zeng, T\. Zhang,et al\.AutoCodeBench: large language models are automatic code benchmark generators\.arXiv preprint arXiv:2508\.09101\.Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p2.1),[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.
- Liet al\.\(2025\)X\. L\. Li, F\. Kaiyom, E\. Z\. Liu, Y\. Mai, P\. Liang, and T\. HashimotoAutoBencher: towards declarative benchmark construction\.InInternational Conference on Learning Representations,Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p2.1),[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.
- Liuet al\.\(2026\)T\. Liu, A\. X\. Wang, A\. Panescu, L\. X\. Chen, W\. Long, X\. Wei, Y\. Jing, Z\. Zeng, J\. Chen, S\. Jiang,et al\.Benchmarking AI agents for addressing scientific challenges across scales\.arXiv preprint arXiv:2606\.12736\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Liuet al\.\(2024\)Z\. Liu, T\. Hoang, J\. Zhang, M\. Zhu, T\. Lan, S\. Kokane, J\. Tan, W\. Yao, Z\. Liu, Y\. Feng,et al\.APIGen: automated pipeline for generating verifiable and diverse function\-calling datasets\.arXiv preprint arXiv:2406\.18518\.Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p2.1),[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Reinet al\.\(2024\)D\. Rein, B\. L\. Hou, A\. C\. Stickland, J\. Petty, R\. Y\. Pang, J\. Dirani, J\. Michael, and S\. R\. BowmanGPQA: a graduate\-level Google\-proof Q&A benchmark\.InFirst Conference on Language Modeling,Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p1.1),[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.
- Scroggset al\.\(2022\)M\. W\. Scroggs, I\. A\. Baratta, C\. N\. Richardson, and G\. N\. WellsBasix: a runtime finite element basis evaluation library\.Journal of Open Source Software7\(73\),pp\. 3982\.Cited by:[Tasks and seeds](https://arxiv.org/html/2609.02067#Sx3.SSx1.p1.1)\.
- Siegelet al\.\(2024\)Z\. S\. Siegel, S\. Kapoor, N\. Nadgir, B\. Stroebl, and A\. NarayananCORE\-Bench: fostering the credibility of published research through a computational reproducibility agent benchmark\.arXiv preprint arXiv:2409\.11363\.Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p1.1),[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Soni \(2026\)H\. SoniToolFailBench: diagnosing tool\-use failures in LLM agents\.arXiv preprint arXiv:2607\.04686\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Tianet al\.\(2024\)M\. Tian, L\. Gao, S\. D\. Zhang,et al\.SciCode: a research coding benchmark curated by scientists\.arXiv preprint arXiv:2407\.13168\.Cited by:[Introduction](https://arxiv.org/html/2609.02067#Sx1.p1.1),[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Weiet al\.\(2025\)J\. Wei, Z\. Sun, S\. Papay, S\. McKinney, J\. Han, I\. Fulford, H\. W\. Chung, A\. T\. Passos, W\. Fedus, and A\. GlaeseBrowseComp: a simple yet challenging benchmark for browsing agents\.arXiv preprint arXiv:2504\.12516\.Cited by:[Tool\-use data and scientific agents\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px2.p1.1)\.
- Whiteet al\.\(2024\)C\. White, S\. Dooley, M\. Roberts, A\. Pal, B\. Feuer, S\. Jain, R\. Shwartz\-Ziv, N\. Jain, K\. Saifullah, S\. Dey,et al\.LiveBench: a challenging, contamination\-limited LLM benchmark\.arXiv preprint arXiv:2406\.19314\.Cited by:[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.
- Zellerset al\.\(2019\)R\. Zellers, A\. Holtzman, Y\. Bisk, A\. Farhadi, and Y\. ChoiHellaSwag: can a machine really finish your sentence?\.InProceedings of the 57th Annual Meeting of the Association for Computational Linguistics,pp\. 4791–4800\.Cited by:[Expert authorship and automatic construction\.](https://arxiv.org/html/2609.02067#Sx6.SSx3.SSS0.Px1.p1.1)\.Similar Articles
GTA-2: Benchmarking General Tool Agents from Atomic Tool-Use to Open-Ended Workflows
GTA-2 introduces a hierarchical benchmark for evaluating general tool agents across atomic tool-use and open-ended workflows, revealing a significant capability cliff where frontier models achieve only 14.39% success on complex tasks despite reasonable atomic performance.
ToolGate: Token-Efficient Pre-Call Control for Tool-Augmented Vision-Language Agents
ToolGate is a lightweight external controller that predicts whether to execute or skip perceptual tool calls in vision-language agents, reducing token cost to 64–69% of baseline while preserving accuracy in cross-domain settings.
Beyond Function Calling: Benchmarking Tool-Using Agents under Tool-Environment Unreliability
Introduces ToolBench-X, a benchmark for evaluating large language model agents under various tool-environment reliability hazards, revealing a substantial gap in performance compared to clean environments.
ClawForge: Generating Executable Interactive Benchmarks for Command-Line Agents
ClawForge is a generator-backed benchmark framework for executable command-line workflows under state conflict, evaluating LLM agents on tasks with pre-existing partial, stale, or conflicting artifacts across 17 scenarios.
@SoHarshhh: Really happy to share that “ToolFailBench” got accepted at two ICML 2026 workshops, FAGEN and AIWILD. Most benchmarks e…
ToolFailBench, a diagnostic benchmark for tool-using agents, has been accepted at two ICML 2026 workshops, FAGEN and AIWILD.