Closed duncdrum closed 9 months ago
not able to find relevant publications with publication date after 2020 - which is the test assertion (1st hit published after 2020). I'd like to adapt the test assertion.
Using chronological sorting in an allFields or Titel seach I see (random selection):
I m therefore hesitant to change the test assertion, from what i can see these hits should appear in the TOP 20. How could a volume from the 70s or 80s be that much more relevant just based on the ranking config, and without taking something like citation index into account?
About half of those examples are published in 2020. Could test be amended to "1st hit should be published after 2019"? - Have just seen the exact code: .contains(/202\d/). This means first hit could be published IN 2020, right? Then test doesn't need to be changed.
Chronology test - therefore test assertion "should contain both primary and secondary literature" for search terms "jugendliteratur mittelalter roman" doesn't compute. Or put it this way: this assertion hasn't been put as a ranking goal. Tbd.
Similar: assertion "should show relevant titles in translation" for search all fields "griechische mythologie". Tbd, please. :)
.contains(/202\d/)
means 202[0-9]
any digit will work
Andreas Gryphus
has many relevant 21st century publication, but the top 20 is 17 of 20 before 1985