Fable
The scribe and the codebook: two things that must not be mixed up
In the county town there was a large academy that held many ancient books. The director wanted students to find materials faster, so he asked two assistants to come up with ideas. Assistant A copied the important content of each book into a code—a very long string of numbers. Each book's code was different, and books with similar meanings had similar codes. Assistant B built a code repository next to the academy, stored all the codes according to a catalog, and also designed a similarity-based retrieval method.
Assistant A finished the first batch of codes and proudly handed them to the director. The director asked how students would use these codes to look up materials. Assistant A said the codes were already written—just look them up. The director asked where to look them up, how to enter them, how similarity is calculated. Assistant A said that was outside his scope of work.
Assistant B came to report on the work and brought drawings for the code library. The director asked where the codes were, and Assistant B said they were still waiting for Assistant A to deliver them. The director asked, weren't you doing it together? Assistant B said Assistant A was only responsible for copying the codes, while building the library was his work, and the two had been set up as separate projects.
Later, Assistant A finally finished copying all the secret codes, and Assistant B entered them into the code library. While entering them, Assistant B discovered that some codes were written sloppily, with several digits wrong; some books had been copied as codes, but the copyist did not understand the technical terms, so the resulting codes were completely distorted. Assistant B asked Assistant A whether they could recheck, and Assistant A said he was only responsible for copying, not for the content.
On the first retrieval after the code library was built, the director found the results very strange. Searching "business risk" returned all "financial reports," which looked related but on closer inspection were not the same thing at all. Assistant B searched for a long time and said the code quality was the problem—some terms' codes had too high a similarity to the codes of terms in another domain and could not be distinguished.
The director later invited an old scholar to analyze the situation. The old scholar said: ciphers and cipher libraries are two different things. Ciphers solve the problem of packing knowledge into numbers; cipher libraries solve the problem of quickly finding those numbers. Your current trouble is that no one is responsible for whether the ciphers are good or bad, and no matter how fast the cipher library is built, it is useless.
Later the academy set two rules: whoever writes the cipher must be accountable for the source text, and cipher quality is spot-checked at acceptance; the cipher library's index structure is evaluated once a year and adjusted by retrieval hit rate. The two things became sequential links in one chain, not two independent work packages.