Paraphrasing Greenspun's tenth rule [1]
Any sufficiently complicated library management system contains an ad-hoc, informally-specified, bug-ridden, inconsistent implementation of half of the Dewey System [2].
[1] https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
[2] https://en.wikipedia.org/wiki/Dewey_Decimal_Classification