sul-dlss/sw_index_tests — pull request #69 by lmcglohon (2014-12-08 23:46:10+00:00)
Title: Fixed failures by increasing have_at_most values and changing items in first X number of results

1) advanced search pub info subject 'soviet union and historiography' and pub info '1910-1911 pub info 2010
Failure/Error: resp.should have_at_most(137900).results
expected at most 137900 results, got 137918
# ./spec/advanced_search_spec.rb:340:in `block (4 levels) in '

2) CJK Advanced Search Publication Info Publisher: Mineruba Shobō ミネルヴァ 書房 matches without spaces present
Failure/Error: @resp.should include(no_space_exact_matches).in_first(20).documents
expected response to include documents ["10572544", "10667235"] in first 20 results: {"responseHeader"=>{"status"=>0, "QTime"=>584, "params"=>{"mm"=>"3<86%", "facet"=>"false", "fl"=>"id", "q"=>"_query_:\"{!edismax qf=$qf_pub_info_cjk pf=$pf_pub_info_cjk pf3=$pf3_pub_info_cjk pf2=$pf2_pub_info_cjk}ミネルヴァ 書房\"", "testing"=>"sw_index_test", "qs"=>"0", "wt"=>"ruby", "defType"=>"lucene"}}, "response"=>{"numFound"=>963, "start"=>0, "docs"=>[{"id"=>"4196577"}, {"id"=>"4203788"}, {"id"=>"4199853"}, {"id"=>"4198109"}, {"id"=>"4203994"}, {"id"=>"4197487"}, {"id"=>"10586105"}, {"id"=>"10432984"}, {"id"=>"10635734"}, {"id"=>"10667754"}, {"id"=>"10412633"}, {"id"=>"10609953"}, {"id"=>"10609961"}, {"id"=>"10667235"}, {"id"=>"10667619"}, {"id"=>"10612162"}, {"id"=>"10385052"}, {"id"=>"10359409"}, {"id"=>"10355235"}, {"id"=>"10355212"}]}}
Diff:
@@ -1,2 +1,38 @@
-[["10572544", "10667235"]]
+{"responseHeader"=>
+ {"status"=>0,
+ "QTime"=>584,
+ "params"=>
+ {"mm"=>"3<86%",
+ "facet"=>"false",
+ "fl"=>"id",
+ "q"=>
+ "_query_:\"{!edismax qf=$qf_pub_info_cjk pf=$pf_pub_info_cjk pf3=$pf3_pub_info_cjk pf2=$pf2_pub_info_cjk}ミネルヴァ 書房\"",
+ "testing"=>"sw_index_test",
+ "qs"=>"0",
+ "wt"=>"ruby",
+ "defType"=>"lucene"}},
+ "response"=>
+ {"numFound"=>963,
+ "start"=>0,
+ "docs"=>
+ [{"id"=>"4196577"},
+ {"id"=>"4203788"},
+ {"id"=>"4199853"},
+ {"id"=>"4198109"},
+ {"id"=>"4203994"},
+ {"id"=>"4197487"},
+ {"id"=>"10586105"},
+ {"id"=>"10432984"},
+ {"id"=>"10635734"},
+ {"id"=>"10667754"},
+ {"id"=>"10412633"},
+ {"id"=>"10609953"},
+ {"id"=>"10609961"},
+ {"id"=>"10667235"},
+ {"id"=>"10667619"},
+ {"id"=>"10612162"},
+ {"id"=>"10385052"},
+ {"id"=>"10359409"},
+ {"id"=>"10355235"},
+ {"id"=>"10355212"}]}}
# ./spec/cjk/cjk_advanced_search_spec.rb:47:in `block (4 levels) in '

3) Japanese Everything Searches Edo (old name for Tokyo) behaves like expected result size everything search has between 1955 and 1980 results
Failure/Error: resp.should have_at_most(max).results
expected at most 1980 results, got 1982
Shared Example Group: "expected result size" called from ./spec/cjk/japanese_everything_spec.rb:26
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

4) Japanese Kanji variants modern Kanji != simplified Han Edo (old name for Tokyo) behaves like expected result size everything search has between 1970 and 2000 results
Failure/Error: resp.should have_at_most(max).results
expected at most 2000 results, got 2002
Shared Example Group: "expected result size" called from ./spec/cjk/japanese_han_variants_spec.rb:38
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

5) Korean spacing Contemporary North Korean literature 북한 의 현대 문학 (spacing in catalog) behaves like good results for 북한의 현대문학 behaves like good results for query everything search has between 4 and 270 results
Failure/Error: resp.should have_at_most(max).results
expected at most 270 results, got 273
Shared Example Group: "good results for query" called from ./spec/cjk/korean_spacing_spec.rb:277
# ./spec/support/shared_examples_cjk.rb:8:in `block (2 levels) in '

6) sorting results empty query with facet format_main_ssim:Book; default sort should be by pub date desc then title asc
Failure/Error: resp.should include('10343020').before('10343019')
expected response to include document "10343020" before document matching "10343019": {"responseHeader"=>{"status"=>0, "QTime"=>409, "params"=>{"facet"=>"false", "fl"=>"id,pub_date,imprint_display,title_245a_display", "testing"=>"sw_index_test", "wt"=>"ruby", "fq"=>"format_main_ssim:Book", "rows"=>"100"}}, "response"=>{"numFound"=>6509710, "start"=>0, "docs"=>[{"title_245a_display"=>"100 questions (and answers) about statistics", "id"=>"10619849", "pub_date"=>"2015"}, {"id"=>"10473427", "title_245a_display"=>"101 ways to connect with your customers, chiefs, and co-workers", "pub_date"=>"2015", "imprint_display"=>["Boston, MA : Cengage Learning PTR, c2015."]}, {"id"=>"10701351", "title_245a_display"=>"A BI-DIRECTIONAL NEGATIVE FEEDBACK LOOP GOVERNS THE ORIENTATION OF PLANAR POLARITY IN THE DROSOPHILA WING", "pub_date"=>"2015", "imprint_display"=>["2015."]}, {"id"=>"10701372", "title_245a_display"=>"A discriminative modeling approach for inferring ancestry and correcting phase in large population genetics data sets", "pub_date"=>"2015", "imprint_display"=>["2015."]}, {"id"=>"10678829", "title_245a_display"=>"An ABC of early childhood education", "pub_date"=>"2015", "imprint_display"=>["Milton Park, Abingdon, Oxon ; Routledge 2015."]}, {"id"=>"10693546", "title_245a_display"=>"Aboriginal peoples, colonialism and international law", "pub_date"=>"2015"}, {"title_245a_display"=>"Accident & emergency radiology", "id"=>"10684323", "pub_date"=>"2015", "imprint_display"=>["Third edition [3rd ed.]"]}, {"title_245a_display"=>"The action research dissertation", "id"=>"10587651", "pub_date"=>"2015", "imprint_display"=>["2nd edition."]}, {"title_245a_display"=>"Adapting to win", "id"=>"10692483", "pub_date"=>"2015", "imprint_display"=>["Philadelphia : University of Pennsylvania Press, c2015."]}, {"title_245a_display"=>"Adaptive filtering", "id"=>"10682772", "pub_date"=>"2015"}, {"title_245a_display"=>"Addressing techniques of liquid crystal displays", "id"=>"10675676", "pub_date"=>"2015"}, {"id"=>"10660993", "title_245a_display"=>"Adjudicating international human rights", "pub_date"=>"2015"}, {"title_245a_display"=>"Administrative law for public managers", "id"=>"10675969", "pub_date"=>"2015", "imprint_display"=>["Second edition."]}, {"id"=>"10633393", "title_245a_display"=>"Advanced nanomaterials for aerospace applications", "pub_date"=>"2015"}, {"title_245a_display"=>"Advanced R", "id"=>"10682736", "pub_date"=>"2015"}, {"title_245a_display"=>"Advanced R", "id"=>"10689651", "pub_date"=>"2015"}, {"id"=>"10682757", "title_245a_display"=>"Advanced separations by specialized sorbents", "pub_date"=>"2015"}, {"title_245a_display"=>"Advances in visual data compression and communication", "id"=>"10633345", "pub_date"=>"2015"}, {"id"=>"10668120", "title_245a_display"=>"Advocating propaganda", "pub_date"=>"2015", "imprint_display"=>["Chicago : Sussex Academic Press 2015."]}, {"title_245a_display"=>"Africa and the expansion of international society", "id"=>"10610335", "pub_date"=>"2015"}, {"title_245a_display"=>"Africa", "id"=>"10643432", "pub_date"=>"2015"}, {"title_245a_display"=>"African industrial development and European Union co-operation", "id"=>"10590576", "pub_date"=>"2015"}, {"title_245a_display"=>"African world histories", "id"=>"10446739", "pub_date"=>"2015"}, {"id"=>"10693941", "title_245a_display"=>"After civil war", "pub_date"=>"2015", "imprint_display"=>["1st ed. - Philadelphia : University of Pennsylvania Press, c2015."]}, {"id"=>"10577934", "title_245a_display"=>"After Greenwashing", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"id"=>"10647836", "title_245a_display"=>"After Integration", "pub_date"=>"2015", "imprint_display"=>["Weisbaden Springer 2015"]}, {"id"=>"10642469", "title_245a_display"=>"After legal equality", "pub_date"=>"2015"}, {"id"=>"10677717", "title_245a_display"=>"After legal equality", "pub_date"=>"2015", "imprint_display"=>["Abingdon, UK Routledge 2015."]}, {"title_245a_display"=>"Age-period-cohort models", "id"=>"10633290", "pub_date"=>"2015"}, {"id"=>"10633384", "title_245a_display"=>"Agricultural resource use and management", "pub_date"=>"2015"}, {"id"=>"10660792", "title_245a_display"=>"Aha... that is interesting! John H. Holland, 85 years young", "pub_date"=>"2015", "imprint_display"=>["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]}, {"title_245a_display"=>"Aircraft aerodynamic design", "id"=>"10675841", "pub_date"=>"2015"}, {"title_245a_display"=>"al-Ākhar wa-al-ākharūn fī al-Qurʼān", "id"=>"10678237", "pub_date"=>"2015", "imprint_display"=>["al-Ṭabʻah 1. - Bayrūt : al-Tanwīr lil-Ṭibāʻah wa-al-Nashr wa-al-Tawzīʻ, 2015."]}, {"title_245a_display"=>"al-ʻAlāqah bayna al-munaẓẓamāt ghayr al-ḥukūmīyah wa-al-dawlah fī Zīmbābwī", "id"=>"10682022", "pub_date"=>"2015", "imprint_display"=>["al-Ṭabʻah 1. الطبعة ١. - Miṣr al-Jadīdah, al-Qāhirah : al-Maktab al-ʻArabī lil-Maʻārif, 2015. مصر الجديدة، القاهرة : المكتب العربي للمعارف، 2015."]}, {"id"=>"10577882", "title_245a_display"=>"The Allocation of Regulatory Competence in the EU Emissions Trading Scheme", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"id"=>"10618213", "title_245a_display"=>"al-ʻAlmānīyah wa-al-sijālāt al-kubrá fī al-fikr al-ʻArabī al-muʻāṣir", "pub_date"=>"2015", "imprint_display"=>["al-Ṭabʻah 1. - Bayrūt : Dār al-Rawāfid al-Thaqāfīyah - Nāshirūn, 2015."]}, {"title_245a_display"=>"American corrections", "id"=>"10677003", "pub_date"=>"2015"}, {"title_245a_display"=>"American representations of post-communism", "id"=>"10626280", "pub_date"=>"2015"}, {"title_245a_display"=>"America's battle for media democracy", "id"=>"10689517", "pub_date"=>"2015"}, {"title_245a_display"=>"Amistad", "id"=>"10668574", "pub_date"=>"2015", "imprint_display"=>["American edition."]}, {"id"=>"10577952", "title_245a_display"=>"Analysis of Boolean Functions", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"title_245a_display"=>"Analysis of capture-recapture data", "id"=>"10633278", "pub_date"=>"2015"}, {"title_245a_display"=>"Analysis of categorical data with R", "id"=>"10630488", "pub_date"=>"2015"}, {"title_245a_display"=>"Analysis of pavement structures", "id"=>"10633294", "pub_date"=>"2015"}, {"title_245a_display"=>"Analytic methods in sports", "id"=>"10633347", "pub_date"=>"2015"}, {"id"=>"10604830", "title_245a_display"=>"Analytical psychology in a changing world", "pub_date"=>"2015"}, {"id"=>"10573313", "title_245a_display"=>"Anger and Racial Politics", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"title_245a_display"=>"\"Anonymus Aurelianensis III\" in Aristotelis analytica priora", "id"=>"10661612", "pub_date"=>"2015"}, {"id"=>"10682728", "title_245a_display"=>"Antioxidants in sport nutrition", "pub_date"=>"2015"}, {"id"=>"10626852", "title_245a_display"=>"Anti-terrorism law and normalising Northern Ireland", "pub_date"=>"2015"}, {"title_245a_display"=>"APA handbook of personality and social psychology", "id"=>"10618784", "pub_date"=>"2015", "imprint_display"=>["First edition."]}, {"title_245a_display"=>"Applicable atmospheric dynamics", "id"=>"10660794", "pub_date"=>"2015", "imprint_display"=>["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]}, {"id"=>"10682721", "title_245a_display"=>"Aquananotechnology", "pub_date"=>"2015"}, {"id"=>"10318580", "title_245a_display"=>"Archaic Style in English Literature, 1590–1674", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2013."]}, {"title_245a_display"=>"Architectural temperance", "id"=>"10626305", "pub_date"=>"2015"}, {"title_245a_display"=>"Architecture and armed conflict", "id"=>"10588511", "pub_date"=>"2015"}, {"id"=>"10573343", "title_245a_display"=>"Asian Slaves in Colonial Mexico", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"title_245a_display"=>"Assessing the long-term impact of truth commissions", "id"=>"10620135", "pub_date"=>"2015"}, {"title_245a_display"=>"Assessing the long-term impact of truth commissions", "id"=>"10648975", "pub_date"=>"2015"}, {"title_245a_display"=>"Asylum seeking and the global city", "id"=>"10635860", "pub_date"=>"2015"}, {"title_245a_display"=>"Asymmetric synthesis", "id"=>"10645837", "pub_date"=>"2015", "imprint_display"=>["Second edition."]}, {"title_245a_display"=>"At the root of things", "id"=>"10633316", "pub_date"=>"2015"}, {"id"=>"10698685", "title_245a_display"=>"Atlas of interventional pain management", "pub_date"=>"2015", "imprint_display"=>["Fourth edition [4th ed.]."]}, {"id"=>"10701366", "title_245a_display"=>"Atomic-scale engineering of nanomaterials for solar energy", "pub_date"=>"2015", "imprint_display"=>["2015."]}, {"title_245a_display"=>"Attacking judges", "id"=>"10669115", "pub_date"=>"2015"}, {"id"=>"10690069", "title_245a_display"=>"Auschwitz-TV", "pub_date"=>"2015", "imprint_display"=>["Wiesbaden : Springer VS, 2015."]}, {"id"=>"10428257", "title_245a_display"=>"Authoritarian Origins of Democratic Party Systems in Africa", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"id"=>"10701376", "title_245a_display"=>"Autobiographical Narratives of Concentration Camps: A Transatlantic Approach to Concentrationary Policies and Trajectories", "pub_date"=>"2015", "imprint_display"=>["2015."]}, {"title_245a_display"=>"Baby gorilla", "id"=>"10651864", "pub_date"=>"2015"}, {"id"=>"10633327", "title_245a_display"=>"Background modeling and foreground detection for video surveillance", "pub_date"=>"2015"}, {"title_245a_display"=>"Basic college mathematics", "id"=>"10624227", "pub_date"=>"2015", "imprint_display"=>["Third edition."]}, {"title_245a_display"=>"Beach-spawning fishes", "id"=>"10423953", "pub_date"=>"2015"}, {"title_245a_display"=>"Beads, bodies, and trash", "id"=>"10605790", "pub_date"=>"2015"}, {"title_245a_display"=>"Beginning C++ through game programming, fourth edition", "id"=>"10652178", "pub_date"=>"2015", "imprint_display"=>["4th ed. - Boston : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}, {"title_245a_display"=>"Beginning game programming, fourth edition", "id"=>"10627028", "pub_date"=>"2015", "imprint_display"=>["4th ed. - Boston, MA : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}, {"title_245a_display"=>"Benford's law", "id"=>"10660781", "pub_date"=>"2015", "imprint_display"=>["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]}, {"title_245a_display"=>"A beta-return efficient portfolio optimisation following the CAPM", "id"=>"10643430", "pub_date"=>"2015", "imprint_display"=>["Wiesbaden, [Germany] : Springer Gabler, 2015."]}, {"id"=>"10688398", "title_245a_display"=>"Beyond big data", "pub_date"=>"2015", "imprint_display"=>["[Upper Saddle River, N.J.] : IBM Press, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}, {"id"=>"10691246", "title_245a_display"=>"Beyond GDP", "pub_date"=>"2015", "imprint_display"=>["Cham Springer International Publishing AG 2015"]}, {"id"=>"10667218", "title_245a_display"=>"Beyond the Wall", "pub_date"=>"2015"}, {"id"=>"10343020", "title_245a_display"=>"The Bible on Silent Film", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2013."]}, {"title_245a_display"=>"Big data", "id"=>"10682741", "pub_date"=>"2015"}, {"title_245a_display"=>"Big data analytics strategies for the smart grid", "id"=>"10633334", "pub_date"=>"2015"}, {"title_245a_display"=>"Big data", "id"=>"10675315", "pub_date"=>"2015", "imprint_display"=>["Boca Raton, FL : CRC Press, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}, {"id"=>"10633313", "title_245a_display"=>"The billionaire's chef", "pub_date"=>"2015"}, {"id"=>"10428258", "title_245a_display"=>"Bioarchaeological and Forensic Perspectives on Violence", "pub_date"=>"2015", "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]}, {"title_245a_display"=>"Biocalculus", "id"=>"10652642", "pub_date"=>"2015", "imprint_display"=>["Boston : Cenage Learning, c2015."]}, {"id"=>"10591446", "title_245a_display"=>"Biointeractions of nanomaterials", "pub_date"=>"2015"}, {"id"=>"10681712", "title_245a_display"=>"Biointerfaces", "pub_date"=>"2015"}, {"title_245a_display"=>"Biology", "id"=>"10433291", "pub_date"=>"2015", "imprint_display"=>["Tenth edition, global edition."]}, {"id"=>"10690105", "title_245a_display"=>"The Biology and Ecology of Giant Kelp Forests", "pub_date"=>"2015", "imprint_display"=>["Berkerley University of California Press 2015"]}, {"id"=>"10692479", "title_245a_display"=>"The biology of thought", "pub_date"=>"2015"}, {"id"=>"10591529", "title_245a_display"=>"Biomass processing technologies", "pub_date"=>"2015"}, {"id"=>"10633267", "title_245a_display"=>"Biomedical photonics handbook", "pub_date"=>"2015", "imprint_display"=>["Second edition."]}, {"id"=>"10633268", "title_245a_display"=>"Biomedical photonics handbook", "pub_date"=>"2015", "imprint_display"=>["Second edition."]}, {"id"=>"10633269", "title_245a_display"=>"Biomedical photonics handbook", "pub_date"=>"2015", "imprint_display"=>["Second edition."]}, {"id"=>"10688322", "title_245a_display"=>"Biomolecular feedback systems", "pub_date"=>"2015", "imprint_display"=>["Princeton : Princeton University Press [2015]"]}, {"id"=>"10591514", "title_245a_display"=>"Biotechnology and bioinformatics", "pub_date"=>"2015", "imprint_display"=>["1st edition."]}, {"id"=>"10676366", "title_245a_display"=>"The birth of the pill", "pub_date"=>"2015", "imprint_display"=>["Unabridged edition - London Macmillan 2015"]}, {"title_245a_display"=>"The black art of multiplatform game programming", "id"=>"10618337", "pub_date"=>"2015", "imprint_display"=>["Boston : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}]}}
Diff:
@@ -1,2 +1,399 @@
-["10343020"]
+{"responseHeader"=>
+ {"status"=>0,
+ "QTime"=>409,
+ "params"=>
+ {"facet"=>"false",
+ "fl"=>"id,pub_date,imprint_display,title_245a_display",
+ "testing"=>"sw_index_test",
+ "wt"=>"ruby",
+ "fq"=>"format_main_ssim:Book",
+ "rows"=>"100"}},
+ "response"=>
+ {"numFound"=>6509710,
+ "start"=>0,
+ "docs"=>
+ [{"title_245a_display"=>"100 questions (and answers) about statistics",
+ "id"=>"10619849",
+ "pub_date"=>"2015"},
+ {"id"=>"10473427",
+ "title_245a_display"=>
+ "101 ways to connect with your customers, chiefs, and co-workers",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Boston, MA : Cengage Learning PTR, c2015."]},
+ {"id"=>"10701351",
+ "title_245a_display"=>
+ "A BI-DIRECTIONAL NEGATIVE FEEDBACK LOOP GOVERNS THE ORIENTATION OF PLANAR POLARITY IN THE DROSOPHILA WING",
+ "pub_date"=>"2015",
+ "imprint_display"=>["2015."]},
+ {"id"=>"10701372",
+ "title_245a_display"=>
+ "A discriminative modeling approach for inferring ancestry and correcting phase in large population genetics data sets",
+ "pub_date"=>"2015",
+ "imprint_display"=>["2015."]},
+ {"id"=>"10678829",
+ "title_245a_display"=>"An ABC of early childhood education",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Milton Park, Abingdon, Oxon ; Routledge 2015."]},
+ {"id"=>"10693546",
+ "title_245a_display"=>
+ "Aboriginal peoples, colonialism and international law",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Accident & emergency radiology",
+ "id"=>"10684323",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Third edition [3rd ed.]"]},
+ {"title_245a_display"=>"The action research dissertation",
+ "id"=>"10587651",
+ "pub_date"=>"2015",
+ "imprint_display"=>["2nd edition."]},
+ {"title_245a_display"=>"Adapting to win",
+ "id"=>"10692483",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Philadelphia : University of Pennsylvania Press, c2015."]},
+ {"title_245a_display"=>"Adaptive filtering",
+ "id"=>"10682772",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Addressing techniques of liquid crystal displays",
+ "id"=>"10675676",
+ "pub_date"=>"2015"},
+ {"id"=>"10660993",
+ "title_245a_display"=>"Adjudicating international human rights",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Administrative law for public managers",
+ "id"=>"10675969",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Second edition."]},
+ {"id"=>"10633393",
+ "title_245a_display"=>
+ "Advanced nanomaterials for aerospace applications",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Advanced R",
+ "id"=>"10682736",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Advanced R",
+ "id"=>"10689651",
+ "pub_date"=>"2015"},
+ {"id"=>"10682757",
+ "title_245a_display"=>"Advanced separations by specialized sorbents",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>
+ "Advances in visual data compression and communication",
+ "id"=>"10633345",
+ "pub_date"=>"2015"},
+ {"id"=>"10668120",
+ "title_245a_display"=>"Advocating propaganda",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Chicago : Sussex Academic Press 2015."]},
+ {"title_245a_display"=>
+ "Africa and the expansion of international society",
+ "id"=>"10610335",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Africa", "id"=>"10643432", "pub_date"=>"2015"},
+ {"title_245a_display"=>
+ "African industrial development and European Union co-operation",
+ "id"=>"10590576",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"African world histories",
+ "id"=>"10446739",
+ "pub_date"=>"2015"},
+ {"id"=>"10693941",
+ "title_245a_display"=>"After civil war",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["1st ed. - Philadelphia : University of Pennsylvania Press, c2015."]},
+ {"id"=>"10577934",
+ "title_245a_display"=>"After Greenwashing",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"id"=>"10647836",
+ "title_245a_display"=>"After Integration",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Weisbaden Springer 2015"]},
+ {"id"=>"10642469",
+ "title_245a_display"=>"After legal equality",
+ "pub_date"=>"2015"},
+ {"id"=>"10677717",
+ "title_245a_display"=>"After legal equality",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Abingdon, UK Routledge 2015."]},
+ {"title_245a_display"=>"Age-period-cohort models",
+ "id"=>"10633290",
+ "pub_date"=>"2015"},
+ {"id"=>"10633384",
+ "title_245a_display"=>"Agricultural resource use and management",
+ "pub_date"=>"2015"},
+ {"id"=>"10660792",
+ "title_245a_display"=>
+ "Aha... that is interesting! John H. Holland, 85 years young",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]},
+ {"title_245a_display"=>"Aircraft aerodynamic design",
+ "id"=>"10675841",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"al-Ākhar wa-al-ākharūn fī al-Qurʼān",
+ "id"=>"10678237",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["al-Ṭabʻah 1. - Bayrūt : al-Tanwīr lil-Ṭibāʻah wa-al-Nashr wa-al-Tawzīʻ, 2015."]},
+ {"title_245a_display"=>
+ "al-ʻAlāqah bayna al-munaẓẓamāt ghayr al-ḥukūmīyah wa-al-dawlah fī Zīmbābwī",
+ "id"=>"10682022",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["al-Ṭabʻah 1. الطبعة ١. - Miṣr al-Jadīdah, al-Qāhirah : al-Maktab al-ʻArabī lil-Maʻārif, 2015. مصر الجديدة، القاهرة : المكتب العربي للمعارف، 2015."]},
+ {"id"=>"10577882",
+ "title_245a_display"=>
+ "The Allocation of Regulatory Competence in the EU Emissions Trading Scheme",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"id"=>"10618213",
+ "title_245a_display"=>
+ "al-ʻAlmānīyah wa-al-sijālāt al-kubrá fī al-fikr al-ʻArabī al-muʻāṣir",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["al-Ṭabʻah 1. - Bayrūt : Dār al-Rawāfid al-Thaqāfīyah - Nāshirūn, 2015."]},
+ {"title_245a_display"=>"American corrections",
+ "id"=>"10677003",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"American representations of post-communism",
+ "id"=>"10626280",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"America's battle for media democracy",
+ "id"=>"10689517",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Amistad",
+ "id"=>"10668574",
+ "pub_date"=>"2015",
+ "imprint_display"=>["American edition."]},
+ {"id"=>"10577952",
+ "title_245a_display"=>"Analysis of Boolean Functions",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"title_245a_display"=>"Analysis of capture-recapture data",
+ "id"=>"10633278",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Analysis of categorical data with R",
+ "id"=>"10630488",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Analysis of pavement structures",
+ "id"=>"10633294",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Analytic methods in sports",
+ "id"=>"10633347",
+ "pub_date"=>"2015"},
+ {"id"=>"10604830",
+ "title_245a_display"=>"Analytical psychology in a changing world",
+ "pub_date"=>"2015"},
+ {"id"=>"10573313",
+ "title_245a_display"=>"Anger and Racial Politics",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"title_245a_display"=>
+ "\"Anonymus Aurelianensis III\" in Aristotelis analytica priora",
+ "id"=>"10661612",
+ "pub_date"=>"2015"},
+ {"id"=>"10682728",
+ "title_245a_display"=>"Antioxidants in sport nutrition",
+ "pub_date"=>"2015"},
+ {"id"=>"10626852",
+ "title_245a_display"=>
+ "Anti-terrorism law and normalising Northern Ireland",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>
+ "APA handbook of personality and social psychology",
+ "id"=>"10618784",
+ "pub_date"=>"2015",
+ "imprint_display"=>["First edition."]},
+ {"title_245a_display"=>"Applicable atmospheric dynamics",
+ "id"=>"10660794",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]},
+ {"id"=>"10682721",
+ "title_245a_display"=>"Aquananotechnology",
+ "pub_date"=>"2015"},
+ {"id"=>"10318580",
+ "title_245a_display"=>"Archaic Style in English Literature, 1590–1674",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2013."]},
+ {"title_245a_display"=>"Architectural temperance",
+ "id"=>"10626305",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Architecture and armed conflict",
+ "id"=>"10588511",
+ "pub_date"=>"2015"},
+ {"id"=>"10573343",
+ "title_245a_display"=>"Asian Slaves in Colonial Mexico",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"title_245a_display"=>
+ "Assessing the long-term impact of truth commissions",
+ "id"=>"10620135",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>
+ "Assessing the long-term impact of truth commissions",
+ "id"=>"10648975",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Asylum seeking and the global city",
+ "id"=>"10635860",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Asymmetric synthesis",
+ "id"=>"10645837",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Second edition."]},
+ {"title_245a_display"=>"At the root of things",
+ "id"=>"10633316",
+ "pub_date"=>"2015"},
+ {"id"=>"10698685",
+ "title_245a_display"=>"Atlas of interventional pain management",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Fourth edition [4th ed.]."]},
+ {"id"=>"10701366",
+ "title_245a_display"=>
+ "Atomic-scale engineering of nanomaterials for solar energy",
+ "pub_date"=>"2015",
+ "imprint_display"=>["2015."]},
+ {"title_245a_display"=>"Attacking judges",
+ "id"=>"10669115",
+ "pub_date"=>"2015"},
+ {"id"=>"10690069",
+ "title_245a_display"=>"Auschwitz-TV",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Wiesbaden : Springer VS, 2015."]},
+ {"id"=>"10428257",
+ "title_245a_display"=>
+ "Authoritarian Origins of Democratic Party Systems in Africa",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"id"=>"10701376",
+ "title_245a_display"=>
+ "Autobiographical Narratives of Concentration Camps: A Transatlantic Approach to Concentrationary Policies and Trajectories",
+ "pub_date"=>"2015",
+ "imprint_display"=>["2015."]},
+ {"title_245a_display"=>"Baby gorilla",
+ "id"=>"10651864",
+ "pub_date"=>"2015"},
+ {"id"=>"10633327",
+ "title_245a_display"=>
+ "Background modeling and foreground detection for video surveillance",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Basic college mathematics",
+ "id"=>"10624227",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Third edition."]},
+ {"title_245a_display"=>"Beach-spawning fishes",
+ "id"=>"10423953",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Beads, bodies, and trash",
+ "id"=>"10605790",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>
+ "Beginning C++ through game programming, fourth edition",
+ "id"=>"10652178",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["4th ed. - Boston : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]},
+ {"title_245a_display"=>"Beginning game programming, fourth edition",
+ "id"=>"10627028",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["4th ed. - Boston, MA : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]},
+ {"title_245a_display"=>"Benford's law",
+ "id"=>"10660781",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Singapore ; Hackensack, N.J. : World Scientific Pub. Co., c2015."]},
+ {"title_245a_display"=>
+ "A beta-return efficient portfolio optimisation following the CAPM",
+ "id"=>"10643430",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Wiesbaden, [Germany] : Springer Gabler, 2015."]},
+ {"id"=>"10688398",
+ "title_245a_display"=>"Beyond big data",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["[Upper Saddle River, N.J.] : IBM Press, c2015 (Norwood, Mass. : Books24x7.com [generator])"]},
+ {"id"=>"10691246",
+ "title_245a_display"=>"Beyond GDP",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cham Springer International Publishing AG 2015"]},
+ {"id"=>"10667218",
+ "title_245a_display"=>"Beyond the Wall",
+ "pub_date"=>"2015"},
+ {"id"=>"10343020",
+ "title_245a_display"=>"The Bible on Silent Film",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2013."]},
+ {"title_245a_display"=>"Big data", "id"=>"10682741", "pub_date"=>"2015"},
+ {"title_245a_display"=>"Big data analytics strategies for the smart grid",
+ "id"=>"10633334",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Big data",
+ "id"=>"10675315",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Boca Raton, FL : CRC Press, c2015 (Norwood, Mass. : Books24x7.com [generator])"]},
+ {"id"=>"10633313",
+ "title_245a_display"=>"The billionaire's chef",
+ "pub_date"=>"2015"},
+ {"id"=>"10428258",
+ "title_245a_display"=>
+ "Bioarchaeological and Forensic Perspectives on Violence",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Cambridge : Cambridge University Press, 2014."]},
+ {"title_245a_display"=>"Biocalculus",
+ "id"=>"10652642",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Boston : Cenage Learning, c2015."]},
+ {"id"=>"10591446",
+ "title_245a_display"=>"Biointeractions of nanomaterials",
+ "pub_date"=>"2015"},
+ {"id"=>"10681712",
+ "title_245a_display"=>"Biointerfaces",
+ "pub_date"=>"2015"},
+ {"title_245a_display"=>"Biology",
+ "id"=>"10433291",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Tenth edition, global edition."]},
+ {"id"=>"10690105",
+ "title_245a_display"=>"The Biology and Ecology of Giant Kelp Forests",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Berkerley University of California Press 2015"]},
+ {"id"=>"10692479",
+ "title_245a_display"=>"The biology of thought",
+ "pub_date"=>"2015"},
+ {"id"=>"10591529",
+ "title_245a_display"=>"Biomass processing technologies",
+ "pub_date"=>"2015"},
+ {"id"=>"10633267",
+ "title_245a_display"=>"Biomedical photonics handbook",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Second edition."]},
+ {"id"=>"10633268",
+ "title_245a_display"=>"Biomedical photonics handbook",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Second edition."]},
+ {"id"=>"10633269",
+ "title_245a_display"=>"Biomedical photonics handbook",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Second edition."]},
+ {"id"=>"10688322",
+ "title_245a_display"=>"Biomolecular feedback systems",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Princeton : Princeton University Press [2015]"]},
+ {"id"=>"10591514",
+ "title_245a_display"=>"Biotechnology and bioinformatics",
+ "pub_date"=>"2015",
+ "imprint_display"=>["1st edition."]},
+ {"id"=>"10676366",
+ "title_245a_display"=>"The birth of the pill",
+ "pub_date"=>"2015",
+ "imprint_display"=>["Unabridged edition - London Macmillan 2015"]},
+ {"title_245a_display"=>"The black art of multiplatform game programming",
+ "id"=>"10618337",
+ "pub_date"=>"2015",
+ "imprint_display"=>
+ ["Boston : Cengage Learning PTR, c2015 (Norwood, Mass. : Books24x7.com [generator])"]}]}}
# ./spec/sort_spec.rb:22:in `block (3 levels) in '