# TEX: Test-Time Scaling Testing Agents via Execution-based Cross-Validation

DevFeed: [TEX: Test-Time Scaling Testing Agents via Execution-based Cross-Validation](<https://devfeed.tech/articles/tex-test-time-scaling-testing-agents-via-execution-based-cross-validation-94266.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.27290>)

Author: Akash Gokul, Srijan Bansal, Yingbo Zhou, Semih Yavuz

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [agentic-tasks](<https://devfeed.tech/tags/agentic-tasks.md>), [agents](<https://devfeed.tech/tags/agents.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [execution](<https://devfeed.tech/tags/execution.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [framework](<https://devfeed.tech/tags/framework.md>), [generation](<https://devfeed.tech/tags/generation.md>), [horizon](<https://devfeed.tech/tags/horizon.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [mechanism](<https://devfeed.tech/tags/mechanism.md>), [models](<https://devfeed.tech/tags/models.md>), [patch](<https://devfeed.tech/tags/patch.md>), [patches](<https://devfeed.tech/tags/patches.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [time](<https://devfeed.tech/tags/time.md>), [validation](<https://devfeed.tech/tags/validation.md>)

## AI overview

TEX scales agent testing through execution-based cross-validation: parallel agents generate tests and patches, then each test runs against every patch to create a K x K feedback matrix. Agents use their portions of the matrix to refine outputs, relying on execution results rather than sharing verbose traces. On SWT-Bench Verified, TEX reports 86.4%, 9.0 percentage points above single-agent baselines; random selection among its outputs reaches 84.4%, above the cited prior best of 84.0%. The abstract presents these results as evidence that collaborative execution feedback can improve solution quality for long-horizon tasks.

## Source excerpt

arXiv:2610.27290v1 Announce Type: cross Abstract: Test-case generation is critical but remains challenging for language models. Existing test-time scaling methods either isolate candidates or aggregate traces, which do not scale to long-horizon tasks. We present TEX, a collaborative test-time scaling framework based on execution-driven cross-validation. TEX parallelizes agents to generate tests and patches, cross-executing each test against every patch to form a $K \times K$ feedback matrix. Agents use their matrix slices for refinement, enabling objective validation without verbose trace sharing. On SWT-Bench Verified, TEX achieves 86.4%, establishing a new state-of-the-art and improving +9.0% over single-agent baselines. Moreover, even random selection from TEX outputs (84.4%) surpasses the previous SOTA (84.0%), showing collaborative execution feedback improves solution quality, not just best-case samples. Our results highlight execution-grounded feedback as an effective scaling mechanism for long-horizon agentic tasks.