Manuscript Offprint

arXiv:2611.00651

The Testability Gap: A Pre-Registered Census of Naming versus Implementation in 59 Cognitive-Architecture LLM Systems

Jia Chen, Ying Xu, Ni Zhang, Siyuan Zhang

Abstract

A companion line of work audited individual cognitive-architecture LLM systems in depth and found that module names and module computations are empirically independent claims. This paper asks how far that gap extends across the system class. We pre-registered a census protocol (sample frame, metrics, and acceptance criteria frozen before any sample was downloaded) and surveyed the 59 most-starred Python repositories declaring cognitive architecture on GitHub, plus five classic architectures as a historical control. We measure a testability gap. First, an auditability gap: 22% of repositories document no code reference whatsoever. Second, an integrity gap: 42% of repositories have at least one dangling reference, and within that subgroup the median fraction is 8%, the top quartile 19.6%, and the maximum 79.5%; one 148-star system documents paths of which a majority do not exist. Three of four pre-registered hypotheses were falsified: the integrity gap is not universal (58% of repositories either offer no checkable references

*Corresponding author. Email address: lelandsy28@163.com (Siyuan Zhang) ¹These authors contributed equally to this work.

or offer references that all resolve); claim density does not predict dangling rate (ρ=−0.10\rho = -0.10); and the classical-architecture control does not significantly outperform (p=0.059p = 0.059 with five controls, all at zero dangling). Exactly one repository in 59 (1.7%) ships executable falsification criteria for its own claims. A second pre-registered round classified every dangling path by git lifetime: 85.5% of dangling references (159 of 186) are ghosts – paths that never existed at any commit – against 14.5% that were once real and later removed.

Keywords: cognitive architecture, LLM agents, reproducibility, pre-registration, software audit, empirical software engineering

1. Introduction

A growing class of systems couples large language models to modules named after cognitive science [1, 2, 3, 4, 5, 6]: global workspaces, theory-of-mind engines, integrated-information cores, free-energy minimizers. A companion audit of two such systems showed that the name and the computation are independent claims – in the first system, 18 of 25 named modules ship values that never reach an output; in the second, a genuine IIT-ϕ\phi implementation was severed from its own significance check by a one-line wiring gap [7]. Both findings, however, are case studies. The natural question is distributional: across the system class, how much of the naming corresponds to anything checkable?

This paper answers that question with a pre-registered census. We froze the sample frame, metric definitions, and acceptance criteria before downloading a single repository, then surveyed the 59 most-starred Python repositories declaring cognitive architecture on GitHub, together with five classic cognitive architectures (pyactr, SOAR, ACT-R, Nengo, OpenCog) as a historical control group. The census operates at the static layer only: documentation-to-code reference integrity, claim density, self-audit artifacts, and pre-committed criteria. It deliberately does not attempt the intervention-level failure classification of the companion audit – that requires running the systems, which is per-repository work beyond a census.

The design forces honesty about what a census can falsify. Our pre-registered hypothesis C1 – that the naming-implementation gap is near-universal – was falsified, and the manner of its falsification is the paper's main finding. The gap cannot be universal because the class does not make itself universally checkable: 22% of repositories offer no code references at all, and many more offer so few that the integrity question is unaskable. We call this two-layer structure the testability gap: first an auditability layer (does the documentation offer entry points at all?), then an integrity layer (are the entry points real?). The first layer is a property of the documentation culture; the second is a property of the engineering. Neither predicts the other, and neither is predicted by popularity.

References (23)