You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests of sorted results are giving sporadic errors, in which the arxiv_search seems to retrieve fewer than the expected number of results.
I put some example results here. That's for three successive runs of test(), with no other changes. The first two gave errors (but not exactly the same errors), while the last run was clean.
Note that the error message
Lengths (2, 1) differ (string compare on first 1)
means that the expected result had length 2 but the code was giving a result with length 1.
The text was updated successfully, but these errors were encountered:
kbroman
changed the title
Tests of API's sortBy and sortOrder give sporadic errors
Tests of the arXiv API's sortBy and sortOrder give sporadic errors
Sep 9, 2014
kbroman
changed the title
Tests of the arXiv API's sortBy and sortOrder give sporadic errors
Searches with submittedDate ranges give varying results
Sep 9, 2014
I'd initially thought this issue occurred when I used sortBy or sortOrder, but rather it seems to happen when I use a range for submittedDate (hence the change in the title of this issue). For example, the following does not show any problems.
I think that this problem is the same as this question at the arxiv-api discussion list. There's a bug in the case of repeated identical queries that has to do with the caching of search results.
The tests of sorted results are giving sporadic errors, in which the
arxiv_search
seems to retrieve fewer than the expected number of results.I put some example results here. That's for three successive runs of
test()
, with no other changes. The first two gave errors (but not exactly the same errors), while the last run was clean.Note that the error message
means that the expected result had length 2 but the code was giving a result with length 1.
The text was updated successfully, but these errors were encountered: