aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-12-03 01:53:00 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-12-03 01:53:00 +0100
commita7f0f014416684a0473813063f37d1e642afc670 (patch)
tree36fa822ea5187259dfc65d7559c1c700747eba65
parentbaef647a66c35838c98a3c8cff6ed9b6ba6cb6a4 (diff)
downloadfuzzycat-a7f0f014416684a0473813063f37d1e642afc670.tar.gz
fuzzycat-a7f0f014416684a0473813063f37d1e642afc670.zip
add cases
-rw-r--r--notes/todo.md6
-rw-r--r--tests/data/release/iwtrxnov2repzlgoi2at2md6tm33
-rw-r--r--tests/data/release/s5hm65waingwjmgf3plu76hzu427
-rw-r--r--tests/data/release/t6k5mec4xjdebcs3iv3uzs3yvu28
-rw-r--r--tests/data/verify.csv3
5 files changed, 97 insertions, 0 deletions
diff --git a/notes/todo.md b/notes/todo.md
index 4231363..97313ce 100644
--- a/notes/todo.md
+++ b/notes/todo.md
@@ -82,6 +82,12 @@ Blacklist fragment.
> Meeting abstract (ma) versus document.
* [ ] https://fatcat.wiki/release/iwtrxnov2repzlgoi2at2md6tm https://fatcat.wiki/release/s5hm65waingwjmgf3plu76hzu4 Status.AMBIGUOUS OK.DUMMY
+
+> 10.1126 issue with moved items?
+
* [ ] https://fatcat.wiki/release/b6wfpvotwrecdbygyn27kmihne https://fatcat.wiki/release/3vflegbxtrg4fknx4zyq3rf4im Status.AMBIGUOUS OK.DUMMY
+
+> The same content, but hard to separate.
+
* [ ] https://fatcat.wiki/release/zlywxoy7cfexvaatziqp4ip5m4 https://fatcat.wiki/release/phqelg6oc5hs5dehhgmodcnh5u Status.AMBIGUOUS OK.DUMMY
diff --git a/tests/data/release/iwtrxnov2repzlgoi2at2md6tm b/tests/data/release/iwtrxnov2repzlgoi2at2md6tm
new file mode 100644
index 0000000..014563d
--- /dev/null
+++ b/tests/data/release/iwtrxnov2repzlgoi2at2md6tm
@@ -0,0 +1,33 @@
+{
+ "abstracts": [],
+ "container_id": "6exof3jwwrc5zbt7thlulo6kd4",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1126/scisignal.852001tw7"
+ },
+ "extra": {
+ "crossref": {
+ "subject": [
+ "Cell Biology",
+ "Biochemistry",
+ "Molecular Biology"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "iwtrxnov2repzlgoi2at2md6tm",
+ "issue": "85",
+ "language": "en",
+ "pages": "tw7-tw7",
+ "publisher": "American Association for the Advancement of Science (AAAS)",
+ "refs": [],
+ "release_date": "2001-06-05",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2001,
+ "revision": "4afee08e-f4df-4110-ac81-852b68565897",
+ "state": "active",
+ "title": "The Act of Glucose Uptake",
+ "volume": "2001",
+ "work_id": "inywd3hqqbby3db6aezs7fvtru"
+}
diff --git a/tests/data/release/s5hm65waingwjmgf3plu76hzu4 b/tests/data/release/s5hm65waingwjmgf3plu76hzu4
new file mode 100644
index 0000000..e38e448
--- /dev/null
+++ b/tests/data/release/s5hm65waingwjmgf3plu76hzu4
@@ -0,0 +1,27 @@
+{
+ "abstracts": [],
+ "container_id": "qirzh7firjdsjhg4tutxtir6ey",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1126/science.292.5522.1605k"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "s5hm65waingwjmgf3plu76hzu4",
+ "issue": "5522",
+ "pages": "1605k-1605",
+ "publisher": "American Association for the Advancement of Science (AAAS)",
+ "refs": [],
+ "release_date": "2001-06-01",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2001,
+ "revision": "82c2fda4-78dd-4d97-966b-b188560ce671",
+ "state": "active",
+ "title": "The Act of Glucose Uptake",
+ "volume": "292",
+ "work_id": "k7zpqcgdfbfq3ifrubm52pzhvu"
+}
diff --git a/tests/data/release/t6k5mec4xjdebcs3iv3uzs3yvu b/tests/data/release/t6k5mec4xjdebcs3iv3uzs3yvu
new file mode 100644
index 0000000..935c396
--- /dev/null
+++ b/tests/data/release/t6k5mec4xjdebcs3iv3uzs3yvu
@@ -0,0 +1,28 @@
+{
+ "abstracts": [],
+ "container_id": "6exof3jwwrc5zbt7thlulo6kd4",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1126/stke.2001.85.tw7"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "t6k5mec4xjdebcs3iv3uzs3yvu",
+ "issue": "85",
+ "language": "en",
+ "pages": "tw7-tw7",
+ "publisher": "American Association for the Advancement of Science (AAAS)",
+ "refs": [],
+ "release_date": "2001-06-05",
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2001,
+ "revision": "334965b6-e7cc-4c1b-a88b-485bbd361ffd",
+ "state": "active",
+ "title": "The Act of Glucose Uptake",
+ "volume": "2001",
+ "work_id": "h7qic37m6bbufik6buxtmav3ka"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index 9b449ea..058a471 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -109,3 +109,6 @@ caxa7qbfqvg3bkgz4nwvapgnvi,rnso2swxzvfonemgzrth3arumi,Status.DIFFERENT,Miss.CONT
ehu6pdvzvvcmdoyq4l2yf4vciu,2omou6ehgjccbe6yjvr4wgnsha,Status.AMBIGUOUS,Miss.BLACKLISTED_FRAGMENT
zkqujozrx5cnjitmglclt6heqq,urr2gs4dsbbwdl7asgyqnwwtxy,Status.AMBIGUOUS,Miss.BLACKLISTED_FRAGMENT
5b3lb2ebmrdp5nzxvohefmadre,yy2wzuaxhba7jht72mcjhxuaju,Status.DIFFERENT,Miss.CUSTOM_IOP_MA_PATTERN
+iwtrxnov2repzlgoi2at2md6tm,s5hm65waingwjmgf3plu76hzu4,Status.AMBIGUOUS,
+iwtrxnov2repzlgoi2at2md6tm,t6k5mec4xjdebcs3iv3uzs3yvu,Status.AMBIGUOUS,
+s5hm65waingwjmgf3plu76hzu4,t6k5mec4xjdebcs3iv3uzs3yvu,Status.AMBIGUOUS,