arXiv:2610.41130cs.SEOct 2026

Manuscript Offprint

arXiv:2610.41130

One Verdict Is Not Enough: Regression Testing Learned World Models and Their Test Harnesses

Junyu Huo, Zihao Wan, Ziqi Mao, Gouri Ginde

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Junyu Huo ID^{ID}

Phanvic

Calgary, Alberta, Canada

junyu@phanvic.ca

Zihao Wan ID^{ID}

Phanvic

Calgary, Alberta, Canada

vic@phanvic.ca

Ziqi Mao ID^{ID}

University of Calgary

Calgary, Alberta, Canada

sarah.mao@ucalgary.ca

Gouri Ginde ID^{ID}

University of Calgary

Calgary, Alberta, Canada

gouri.ginde@ucalgary.ca

Abstract—Learned world models ship as software components whose model versions, preprocessing, and test harnesses change between releases. Work on model updates already counts per-sample regressions, or negative flips, that an accuracy check hides. Two problems remain: a test can pass under one configuration and fail under another, and a harness fault can produce erroneous scores and wrong verdicts without a crash. We present TetraState, a regression-testing protocol for paired possible/impossible video tests. Each test runs under four fixed model-native configurations; its number of correct verdicts assigns one of four outcome classes. Inconclusive tests and failed executions are reported separately alongside the verdict rate. Revisions are compared by per-test outcome transitions, and the harness is versioned as part of the system under test. On all 506 IntPhys 2 Main tests and two heterogeneous systems, Cosmos 3 Nano and V-JEPA 2, two V-JEPA 2 harness revisions move modal accuracy by only 0.2 and 2.6 points yet change 11 and 214 test labels; in the second, accuracy rises although fewer tests are judged correctly, and 43 regressions keep the modal verdict, so a modal-verdict flip check misses them. These results outline a research agenda on configuration-level regression oracles for learned components.

Index Terms—regression testing, test oracle, machine-learning testing, world models, configuration-dependent behavior

I. INTRODUCTION

Learned world models predict how scenes evolve and now ship as components for video understanding, simulation, autonomous driving, and robotic planning [1], [2], [3], [4]. Like any software component, they evolve: model versions are updated, preprocessing changes, and test harnesses are patched. Software testing treats code, data, model versions, preprocessing, and configuration as coupled parts of an ML system [5], [6], [7], and practitioners report regression faults when testing evolving DL systems [8]. An accuracy-only regression oracle reduces such a revision to one aggregate: benchmark accuracy before versus after the change.

Accuracy is a lossy regression oracle: a revision can regress some tests and repair others while the total barely moves. Model-update work measures negative flips, inputs that the new model gets wrong although the old one got them right, and backward compatibility [9], [10], [11], [12]. These measures compare one verdict per input. For learned components, two further gaps remain. First, verdicts are configuration-dependent: the same test can pass with one frame count or context length and fail with another, so one execution cannot establish consistency across settings. Second, the test harness belongs inside the system under test (SUT). A fault in frame sampling, score conversion, or loss aggregation can produce an erroneous but well-formed score, leading to a wrong verdict (a failure) without a crash [13]. Neither problem is visible in one aggregate or one verdict per test. Motivating example. A manual code audit during our study revealed a fault in our harness for V-JEPA 2, Meta's video model [4]: when converting its per-window losses into a score, the harness averaged in zero-valued padding entries. Fixing the fault moved majority-vote accuracy from 48.3% to 48.5%, so an accuracy-based quality gate would have passed both the faulty and the fixed version. Yet 11 test labels changed, 8 between correct under every configuration and wrong under every configuration. The aggregate therefore conceals changes that warrant per-test inspection.

We propose TetraState, a regression-testing protocol with three elements: each benchmark pair is a test case executed under a fixed set of configurations; an outcome oracle replaces the binary pass/fail verdict; and revisions are compared by per-test outcome transitions, analogous to test-result diffs for code changes (Fig. 1). Here, state means an outcome class summarizing a test's correctness profile across the declared configurations. The harness is versioned as part of the SUT. Our contributions are (1) a configuration-level outcome oracle extending per-test flip counts, with explicit verdict rate and a SUT version identifier that includes harness semantics; (2) an open implementation with validation checks for heterogeneous scoring APIs; and (3) emerging evidence on a full benchmark split showing that outcome transitions expose harness revisions that accuracy conceals.

References (32)