{"id":1311,"date":"2016-09-20T18:48:19","date_gmt":"2016-09-21T01:48:19","guid":{"rendered":"https:\/\/galencharlton.com\/blog\/?p=1311"},"modified":"2016-09-20T18:48:19","modified_gmt":"2016-09-21T01:48:19","slug":"how-to-build-an-evil-library-catalog","status":"publish","type":"post","link":"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/","title":{"rendered":"How to build an evil library catalog"},"content":{"rendered":"<p>Consider a\u00a0catalog for a small public library\u00a0that features a way to sort search results by popularity. There are several ways to measure &#8220;popularity&#8221; of a book: circulations, hold requests, click-throughs in the catalog, downloads, patron-supplied ratings, place on bestseller lists, and so forth.<\/p>\n<p>But let&#8217;s do a little thought experiment: let&#8217;s use a random number generator to calculate popularity.<\/p>\n<p>However, the results will need to be plausible. It won&#8217;t do to have the catalog assert that the latest J.D. Robb book is gathering dust in the stacks. Conversely, the copy of 1959 edition of\u00a0<em>The geology and paleontology of the Elk Mountain and Tabernacle Butte area, Wyoming\u00a0<\/em>that\u00a0was given\u00a0to the library right\u00a0after the last weeding is never going to be a doorbuster.<\/p>\n<p>So let&#8217;s be clever and ensure that the 500 most circulated\u00a0titles in the collection retain\u00a0their expected popularity rating. Let&#8217;s also leave books that have never circulated alone in their dark corners, as well as those that have no cover images available. The rest, we leave to the tender mercies of the RNG.<\/p>\n<p>What will happen? If patrons\u00a0use the\u00a0catalog&#8217;s popularity rankings, if they trust them \u2014 or at least are more likely to look at\u00a0whatever shows up near the top of search results \u2014 we might expect that the titles with an\u00a0artificial bump\u00a0from the\u00a0random number generator will circulate just a bit more often.<\/p>\n<p>Of course,\u00a0testing that hypothesis by letting a RNG\u00a0skew search results in a real library catalog would be unethical.<\/p>\n<p>But if one were clever enough to be subtle in one&#8217;s use of the RNG,\u00a0the patrons would have a hard time figuring out that something was amiss. \u00a0From the user&#8217;s point of view, a sufficiently advanced search engine is indistinguishable from a black box.<\/p>\n<p>This suggests some interesting possibilities for the Evil\u00a0Librarian of Evil:<\/p>\n<ul>\n<li>Some manual tweaks: after all,\u00a0<em>everybody<\/em> really ought to read $BESTBOOK. (We won&#8217;t mention that it was\u00a0written by the ELE&#8217;s nephew.)<\/li>\n<li>Automatic personalization of search results. Does geolocation show that the patron&#8217;s IP address is on the wrong side of the tracks? Titles with a lower reading level just got more popular!<\/li>\n<li>Has the patron logged in to the catalog? Personalization just got better! Let&#8217;s check the patron&#8217;s gender and tune accordingly!<\/li>\n<\/ul>\n<p>Don&#8217;t be the ELE.<\/p>\n<p>But as you work to improve library catalogs&#8230;\u00a0take care not to become the ELE by accident.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1311\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li><a href=\"#\" class=\"sharing-anchor sd-button share-more\"><span>More<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><div class=\"sharing-hidden\"><div class=\"inner\" style=\"display: none;\"><ul><li class=\"share-tumblr\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-tumblr sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=tumblr\" target=\"_blank\" title=\"Click to share on Tumblr\"><span>Tumblr<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\"><span>Reddit<\/span><\/a><\/li><li class=\"share-end\"><\/li><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Consider a\u00a0catalog for a small public library\u00a0that features a way to sort search results by popularity. There are several ways to measure &#8220;popularity&#8221; of a&#8230;<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing\"><h3 class=\"sd-title\">Share this:<\/h3><div class=\"sd-content\"><ul><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-1311\" class=\"share-twitter sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=twitter\" target=\"_blank\" title=\"Click to share on Twitter\"><span>Twitter<\/span><\/a><\/li><li><a href=\"#\" class=\"sharing-anchor sd-button share-more\"><span>More<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><div class=\"sharing-hidden\"><div class=\"inner\" style=\"display: none;\"><ul><li class=\"share-tumblr\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-tumblr sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=tumblr\" target=\"_blank\" title=\"Click to share on Tumblr\"><span>Tumblr<\/span><\/a><\/li><li class=\"share-reddit\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-reddit sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/?share=reddit\" target=\"_blank\" title=\"Click to share on Reddit\"><span>Reddit<\/span><\/a><\/li><li class=\"share-end\"><\/li><li class=\"share-print\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-print sd-button share-icon\" href=\"https:\/\/galencharlton.com\/blog\/2016\/09\/how-to-build-an-evil-library-catalog\/\" target=\"_blank\" title=\"Click to print\"><span>Print<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[6],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3gJ9y-l9","_links":{"self":[{"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/posts\/1311"}],"collection":[{"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/comments?post=1311"}],"version-history":[{"count":2,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/posts\/1311\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/posts\/1311\/revisions\/1313"}],"wp:attachment":[{"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/media?parent=1311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/categories?post=1311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/galencharlton.com\/blog\/wp-json\/wp\/v2\/tags?post=1311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}