Wiktionary
ad hocery
n. 1 Use of ''ad hoc'' or improvised reasoning. 2 (context computing English) arbitrary decision rules sometimes included in artificial intelligence software to simulate the unexpectedness in human reasoning.