Now we check for repeated values when deriving inspire categories from arxiv categories.
Related Issue
Motivation and Context
While deriving inspire categories from arxiv categories we were not checking repeated values. This is a problem because the relationship between arxiv categories and inspire categories is N:1 (i.e. both math.AP and math.DG belong to the Math and Math Physics category in Inspire, so a paper with both arxiv categories would have the Math and Physics category assigned twice). Tests also didn't cover that scenario.
Checklist:
[x] I have all the information that I need (if not, move to RFC and look for it).
[ ] I linked the related issue(s) in the corresponding commit logs.
Description
Now we check for repeated values when deriving inspire categories from arxiv categories.
Related Issue
Motivation and Context
While deriving inspire categories from arxiv categories we were not checking repeated values. This is a problem because the relationship between arxiv categories and inspire categories is N:1 (i.e. both math.AP and math.DG belong to the Math and Math Physics category in Inspire, so a paper with both arxiv categories would have the Math and Physics category assigned twice). Tests also didn't cover that scenario.
Checklist:
RFC
and look for it).