aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--notes/2020_11_testruns.md8
-rw-r--r--tests/data/release/3w4tibll4rdernjrn4hkkyqsem30
-rw-r--r--tests/data/release/ab2q56gokfdmzpccrmwfcdljgy36
-rw-r--r--tests/data/release/g2swo5fewnhv3ihmlpl32sojr428
-rw-r--r--tests/data/release/tmlg73royrdwdhl6nijf6m7vzy35
-rw-r--r--tests/data/verify.csv2
6 files changed, 138 insertions, 1 deletions
diff --git a/notes/2020_11_testruns.md b/notes/2020_11_testruns.md
index 14561cf..1b0b732 100644
--- a/notes/2020_11_testruns.md
+++ b/notes/2020_11_testruns.md
@@ -119,8 +119,14 @@ BSI, but no "u" pattern.
One is a book, the other one is a review (choice review).
-* [ ] https://fatcat.wiki/release/g2swo5fewnhv3ihmlpl32sojr4 https://fatcat.wiki/release/ab2q56gokfdmzpccrmwfcdljgy Status.AMBIGUOUS OK.DUMMY
+* [x] https://fatcat.wiki/release/g2swo5fewnhv3ihmlpl32sojr4 https://fatcat.wiki/release/ab2q56gokfdmzpccrmwfcdljgy Status.AMBIGUOUS OK.DUMMY
+
+Choice review.
+
* [ ] https://fatcat.wiki/release/3w4tibll4rdernjrn4hkkyqsem https://fatcat.wiki/release/tmlg73royrdwdhl6nijf6m7vzy Status.AMBIGUOUS OK.DUMMY
+
+Tow different reviews. md: one has an author, the other not.
+
* [ ] https://fatcat.wiki/release/kqlifv7lyjdmbfictjzaoixahm https://fatcat.wiki/release/54ilu5kdj5fktohbs5zybtfq7y Status.AMBIGUOUS OK.DUMMY
* [ ] https://fatcat.wiki/release/7x7tszf54zggvp4xkrhakp667u https://fatcat.wiki/release/eqcgtpav3na5jh56o5vjsvb4ei Status.AMBIGUOUS OK.DUMMY
* [ ] https://fatcat.wiki/release/idpgijvcsnbqrgs2dg36vzzdzm https://fatcat.wiki/release/wm2p5fznwffknjx56lvmr7hn4q Status.AMBIGUOUS OK.DUMMY
diff --git a/tests/data/release/3w4tibll4rdernjrn4hkkyqsem b/tests/data/release/3w4tibll4rdernjrn4hkkyqsem
new file mode 100644
index 0000000..ec7c6b5
--- /dev/null
+++ b/tests/data/release/3w4tibll4rdernjrn4hkkyqsem
@@ -0,0 +1,30 @@
+{
+ "abstracts": [],
+ "container_id": "6vtnf256lnazzcloft3odcof7u",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1093/jahist/jav818"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "10.1093/jahist/jav818"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "3w4tibll4rdernjrn4hkkyqsem",
+ "language": "en",
+ "pages": "1211-1212",
+ "publisher": "Oxford University Press (OUP)",
+ "refs": [],
+ "release_date": "2016-02-22",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2016,
+ "revision": "c9ccc009-3e1b-4f2f-beed-8c3cb7d22d0d",
+ "state": "active",
+ "title": "The Ordeal of the Reunion: A New History of Reconstruction",
+ "volume": "102",
+ "work_id": "s7srxjdjybfcjjgtutmy4dwyfa"
+}
diff --git a/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy b/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy
new file mode 100644
index 0000000..7a1bdd6
--- /dev/null
+++ b/tests/data/release/ab2q56gokfdmzpccrmwfcdljgy
@@ -0,0 +1,36 @@
+{
+ "abstracts": [],
+ "container_id": "on7pto6emjcyjebuutelzf34nq",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "M. Seigel",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1215/00182168-2007-045"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "ab2q56gokfdmzpccrmwfcdljgy",
+ "language": "en",
+ "pages": "733-734",
+ "publisher": "Duke University Press",
+ "refs": [],
+ "release_date": "2007-11-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2007,
+ "revision": "86bb892c-3316-427b-bfc5-5ede9b4b7c80",
+ "state": "active",
+ "title": "A Nation among Nations: America's Place in World History",
+ "volume": "87",
+ "work_id": "mi3hgj2mfzfaxlnnnafsiqfyxu"
+}
diff --git a/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4 b/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4
new file mode 100644
index 0000000..d105df7
--- /dev/null
+++ b/tests/data/release/g2swo5fewnhv3ihmlpl32sojr4
@@ -0,0 +1,28 @@
+{
+ "abstracts": [],
+ "container_id": "pjjljho22jhnrmpk3k2jxhxzv4",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.5860/choice.44-1111"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "g2swo5fewnhv3ihmlpl32sojr4",
+ "issue": "02",
+ "language": "en",
+ "pages": "44-1111-44-1111",
+ "publisher": "American Library Association",
+ "refs": [],
+ "release_date": "2006-10-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2006,
+ "revision": "a5043427-bb4e-44fd-9359-a1b98793f410",
+ "state": "active",
+ "title": "A nation among nations: America's place in world history",
+ "volume": "44",
+ "work_id": "jzik5ovynjdcfpx3opnliudvo4"
+}
diff --git a/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy b/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy
new file mode 100644
index 0000000..e4e23c4
--- /dev/null
+++ b/tests/data/release/tmlg73royrdwdhl6nijf6m7vzy
@@ -0,0 +1,35 @@
+{
+ "abstracts": [],
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_affiliation": "None",
+ "raw_name": "Douglas R. Egerton",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.31390/cwbr.17.2.26"
+ },
+ "extra": {
+ "container_name": "Civil War Book Review",
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "tmlg73royrdwdhl6nijf6m7vzy",
+ "publisher": "Louisiana State University Libraries",
+ "refs": [],
+ "release_date": "2015-01-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2015,
+ "revision": "5bc8ddd1-5078-4b64-8e61-99730b039181",
+ "state": "active",
+ "title": "The Ordeal of the Reunion: A New History of Reconstruction",
+ "volume": "17",
+ "work_id": "rvtgbosqnfcz3ktvy4jwcuzbly"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index df60fd7..43820d5 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -125,3 +125,5 @@ u4mjilmo75bcnjyms564l66jea,6ofr4mqnmrdy3nyyh5ufm5ats4,Status.AMBIGUOUS,
6ysfa7ncx5fldmvmwvjgpf2i6e,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
yp3rs3xb5ra2riyx5xayrlqfum,zphoquzqbfccjoqix3wkpyhrm4,Status.EXACT,OK.WORK_ID
mz6a32xbp5f67i2cnbco2hmzj4,fo5dsqeocfekfhqdzgqyng3z6q,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW
+g2swo5fewnhv3ihmlpl32sojr4,ab2q56gokfdmzpccrmwfcdljgy,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW
+tmlg73royrdwdhl6nijf6m7vzy,3w4tibll4rdernjrn4hkkyqsem,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY