karpathy / arxiv-sanity-preserver

Web interface for browsing, search and filtering recent arxiv submissions
http://www.arxiv-sanity.com/
MIT License
5.14k stars 1.33k forks source link

Regex for valid IDs doesn't accept valid cond-mat IDs #134

Open Motorrat opened 4 years ago

Motorrat commented 4 years ago

https://github.com/karpathy/arxiv-sanity-preserver/blob/7da740d967cbce70cdb792f23eabbda7be8511da/utils.py#L101

For example 0401304v1 is a valid ID of one the papers for cond-mat. It was downloaded among first articles for condensed matter physics category. (btw, ´--search-query 'cat:physics:cond-mat'´ did not work and I hardcoded 'cat:cond-mat' into the fetch_papers.py) https://arxiv.org/pdf/cond-mat/0401304v1.pdf

As a result it is impossible to add the articles to the personal library. The icon is inactive (the JS UI gets 'NO' as a server response all the time because article ID doesn't pass validation)