When you visit article recommendations for Kitob (Book in Uzbek) you'll see that Q159964 is being recommended twice, with different normalized scores. This is probably caused by us retrieving recommendations from multiple source languages and not filtering out duplicates. Recommended Wikidata IDs should be unique.
[{"wikidata_id":"Q125576","normalized_rank":0.930232},{"wikidata_id":"Q125576","normalized_rank":0.927625},{"wikidata_id":"Q82622","normalized_rank":0.924255},{"wikidata_id":"Q226697","normalized_rank":0.919053},{"wikidata_id":"Q133036","normalized_rank":0.919053},{"wikidata_id":"Q159964","normalized_rank":0.919053},{"wikidata_id":"Q49848","normalized_rank":0.917277},{"wikidata_id":"Q170124","normalized_rank":0.917277},{"wikidata_id":"Q29334","normalized_rank":0.913319},{"wikidata_id":"Q159964","normalized_rank":0.912596}]
Mentors
- @bmansurov (IRC channel: #wikimedia-research)
Skills Required
- Javascript
Acceptance Criteria
- Each Wikidata ID is recommended only once, and the one with the highest normalized rank among competing suggestions is recommended. The change needs to be done in the article.creation.morelike.js file. Clone the repository from here.