篇外:编程是幻觉的重灾区

外界以为编程是 AI 最不容易幻觉的地方——能跑、能编译、有测试。实际上恰恰相反:正因为整个场都长得像有名,无名之基混在里面才最难认。本文指出"代码全有名"是假命题:编译器验语法、测试验行为、类型系统验结构,没有任何工具验"名配不配实"。名实脱钩的代码照样编译、照样跑、不进任何错误统计——空名、错名、死名、借名、过时名五种形态全穿着代码的形。由此推出判据是颠倒的:跑得起来、但名指不到实的才是重灾区;幻觉密度随测试覆盖率上升而上升,不是幻觉变多,是伪装变厚。并给出最小实验:把代码库所有名字换成随机名(行为不变),问模型代码在干什么——答不出就是名实关系独立于结构的直接证据。幻觉地图的特区。 Abstract (English) The field believes programming is where AI hallucinates least — it runs, it compiles, it has tests. The truth runs the other way: precisely because the whole field looks fully named, the unnameable ground mixed into it is the hardest to recognize. This paper argues that "code is fully named" is a false proposition: compilers check syntax, tests check behavior, type systems check structure — nothing checks whether the name fits the thing. Name-thing decoupled code still compiles, still runs, and never enters any error statistic. The criterion inverts: the worst hallucinations are exactly the ones that run; density rises with test coverage — not more fabrication, thicker camouflage. Minimal experiment: rename every function and variable in a running codebase to random names (behavior unchanged), then ask what the code does — failure to answer is direct evidence that name-thing relations exist independently of structure. A special zone on the hallucination map. 本 record 含中文版与英文版两个文件。系列:01 弃权票(10.5281/zenodo.24501972)、02 幻觉地图(10.5281/zenodo.24518754)、03 为什么之前没有(10.5281/zenodo.24518874);本篇为 02 的篇外。

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-25
DOI
https://doi.org/10.5281/zenodo.24519132
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

篇外:编程是幻觉的重灾区

Jiaming Feng
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

篇外:编程是幻觉的重灾区

Jiaming Feng
preprint en

Abstract

外界以为编程是 AI 最不容易幻觉的地方——能跑、能编译、有测试。实际上恰恰相反:正因为整个场都长得像有名,无名之基混在里面才最难认。本文指出"代码全有名"是假命题:编译器验语法、测试验行为、类型系统验结构,没有任何工具验"名配不配实"。名实脱钩的代码照样编译、照样跑、不进任何错误统计——空名、错名、死名、借名、过时名五种形态全穿着代码的形。由此推出判据是颠倒的:跑得起来、但名指不到实的才是重灾区;幻觉密度随测试覆盖率上升而上升,不是幻觉变多,是伪装变厚。并给出最小实验:把代码库所有名字换成随机名(行为不变),问模型代码在干什么——答不出就是名实关系独立于结构的直接证据。幻觉地图的特区。 Abstract (English) The field believes programming is where AI hallucinates least — it runs, it compiles, it has tests. The truth runs the other way: precisely because the whole field looks fully named, the unnameable ground mixed into it is the hardest to recognize. This paper argues that "code is fully named" is a false proposition: compilers check syntax, tests check behavior, type systems check structure — nothing checks whether the name fits the thing. Name-thing decoupled code still compiles, still runs, and never enters any error statistic. The criterion inverts: the worst hallucinations are exactly the ones that run; density rises with test coverage — not more fabrication, thicker camouflage. Minimal experiment: rename every function and variable in a running codebase to random names (behavior unchanged), then ask what the code does — failure to answer is direct evidence that name-thing relations exist independently of structure. A special zone on the hallucination map. 本 record 含中文版与英文版两个文件。系列:01 弃权票(10.5281/zenodo.24501972)、02 幻觉地图(10.5281/zenodo.24518754)、03 为什么之前没有(10.5281/zenodo.24518874);本篇为 02 的篇外。

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon