aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-12-05 04:09:57 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-12-05 04:09:57 +0100
commit2272a628c3a33d2dcc908a8548d4a7667000d990 (patch)
treeefb2ec7d0ce7e04177d57fe6aaadb437f8c17391
parenta8b60e675c28d26ad6bdfe4cd2e07d340309be3d (diff)
downloadfuzzycat-2272a628c3a33d2dcc908a8548d4a7667000d990.tar.gz
fuzzycat-2272a628c3a33d2dcc908a8548d4a7667000d990.zip
add case
-rw-r--r--notes/2020_11_testruns.md10
-rw-r--r--tests/data/release/in2mm2wafbczjgzlapq55rrksq29
-rw-r--r--tests/data/release/oaezupjwnfckxaajjhjb3fl42e136
-rw-r--r--tests/data/verify.csv1
4 files changed, 175 insertions, 1 deletions
diff --git a/notes/2020_11_testruns.md b/notes/2020_11_testruns.md
index 1abf2da..dd6b49a 100644
--- a/notes/2020_11_testruns.md
+++ b/notes/2020_11_testruns.md
@@ -95,10 +95,18 @@ Preliminary case distribution:
* [-] https://fatcat.wiki/release/3jnis3ebrfgcdmdaa4aunc7xfi https://fatcat.wiki/release/wb3qvo27irfohmo3pa3aatpooa Status.AMBIGUOUS OK.DUMMY
* [-] https://fatcat.wiki/release/byrshkihwjfmplsv3ozbmpsz64 https://fatcat.wiki/release/fpll6q4ebvfgvonwi4vvetzjlq Status.AMBIGUOUS OK.DUMMY
* [x] https://fatcat.wiki/release/vqjpcuqxnbhdtelzspxjmklm7u https://fatcat.wiki/release/knuzh5bcqbg7ph7ffvqaiwevti Status.AMBIGUOUS OK.DUMMY
-* [ ] https://fatcat.wiki/release/psykbwxylndtdaand2ymtkgzqu https://fatcat.wiki/release/xizkwvsodzajnn4u7lgeldqoum Status.AMBIGUOUS OK.DUMMY
+* [x] https://fatcat.wiki/release/psykbwxylndtdaand2ymtkgzqu https://fatcat.wiki/release/xizkwvsodzajnn4u7lgeldqoum Status.AMBIGUOUS OK.DUMMY
+
+Added a stricter year check.
* [ ] https://fatcat.wiki/release/in2mm2wafbczjgzlapq55rrksq https://fatcat.wiki/release/oaezupjwnfckxaajjhjb3fl42e Status.AMBIGUOUS OK.DUMMY
+
+Seems to be the same, but hard to confirm. Paywall.
+
* [ ] https://fatcat.wiki/release/u4mjilmo75bcnjyms564l66jea https://fatcat.wiki/release/6ofr4mqnmrdy3nyyh5ufm5ats4 Status.AMBIGUOUS OK.DUMMY
+
+Great example; same, but sparse md.
+
* [ ] https://fatcat.wiki/release/2qcjbknhyrhh5dbuxobjy3gmqm https://fatcat.wiki/release/r6znetafszbuvaevbasn7ezsk4 Status.AMBIGUOUS OK.DUMMY
* [ ] https://fatcat.wiki/release/fidfj3g6ync2xdpkfcfdtf2jbu https://fatcat.wiki/release/rhu6ehpipbdofaijktvqypf5fe Status.AMBIGUOUS OK.DUMMY
* [ ] https://fatcat.wiki/release/mz6a32xbp5f67i2cnbco2hmzj4 https://fatcat.wiki/release/fo5dsqeocfekfhqdzgqyng3z6q Status.AMBIGUOUS OK.DUMMY
diff --git a/tests/data/release/in2mm2wafbczjgzlapq55rrksq b/tests/data/release/in2mm2wafbczjgzlapq55rrksq
new file mode 100644
index 0000000..a98ce0f
--- /dev/null
+++ b/tests/data/release/in2mm2wafbczjgzlapq55rrksq
@@ -0,0 +1,29 @@
+{
+ "abstracts": [],
+ "container_id": "wwkgxanhx5efrbqepn7d4yhgge",
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.1016/0148-9062(74)91068-7"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "0148906274910687"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "in2mm2wafbczjgzlapq55rrksq",
+ "language": "en",
+ "pages": "109",
+ "publisher": "Elsevier BV",
+ "refs": [],
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 1974,
+ "revision": "21e7a4af-f2f6-40ef-a413-29c948bbec67",
+ "state": "active",
+ "title": "The design of composite rock-cutting bits",
+ "volume": "11",
+ "work_id": "gubgjciwbbc5xggrstk5bp6344"
+}
diff --git a/tests/data/release/oaezupjwnfckxaajjhjb3fl42e b/tests/data/release/oaezupjwnfckxaajjhjb3fl42e
new file mode 100644
index 0000000..3c68fb6
--- /dev/null
+++ b/tests/data/release/oaezupjwnfckxaajjhjb3fl42e
@@ -0,0 +1,136 @@
+{
+ "abstracts": [],
+ "container_id": "rdb2amf6urbpreyqgir3vc22le",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "V. A. Katanov",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "G. F. Markov",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1007/bf02502132"
+ },
+ "extra": {
+ "crossref": {
+ "alternative-id": [
+ "BF02502132"
+ ],
+ "type": "journal-article"
+ }
+ },
+ "ident": "oaezupjwnfckxaajjhjb3fl42e",
+ "language": "en",
+ "pages": "101-104",
+ "publisher": "Springer Nature",
+ "refs": [
+ {
+ "container_name": "Roller Bits for Drilling Blastholes",
+ "extra": {
+ "authors": [
+ "A. A. Peregudov"
+ ],
+ "unstructured": "A. A. Peregudov, M. G. Abramson, A. V. Andreev, and N. G. Dyukov, Roller Bits for Drilling Blastholes, [in Russian], Nedra, Moscow (1969).",
+ "volume-title": "Roller Bits for Drilling Blastholes"
+ },
+ "index": 0,
+ "key": "BF02502132_CR1",
+ "year": 1969
+ },
+ {
+ "extra": {
+ "unstructured": "N. V. Mel'nikov, B. A. Simkin, V. D. Korpukhin, and Yu. M. Motov, \"Results of bed tests of a new composite drilling bit,\" in: Reports on Rock Breaking in Drilling of Boreholes [in Russian], Abstracts of Reports, Moscow (1960)."
+ },
+ "index": 1,
+ "key": "BF02502132_CR2"
+ },
+ {
+ "container_name": "Drilling Bits: a Handbook",
+ "extra": {
+ "authors": [
+ "K. E. Korneev"
+ ],
+ "unstructured": "K. E. Korneev and P. A. Palii, Drilling Bits: a Handbook [in Russian], Nedra, Moscow (1965).",
+ "volume-title": "Drilling Bits: a Handbook"
+ },
+ "index": 2,
+ "key": "BF02502132_CR3",
+ "year": 1965
+ },
+ {
+ "container_name": "Experience of operation of drilling rigs in quarries of the Cheremkhovo deposit",
+ "extra": {
+ "authors": [
+ "V. A. Peretolchin"
+ ],
+ "unstructured": "V. A. Peretolchin, G. A. Eremin, et al., \"Experience of operation of drilling rigs in quarries of the Cheremkhovo deposit,\" Vostochno-Sib. Kn. Izd-vo, Irkutsk (1969).",
+ "volume-title": "Experience of operation of drilling rigs in quarries of the Cheremkhovo deposit"
+ },
+ "index": 3,
+ "key": "BF02502132_CR4",
+ "year": 1969
+ },
+ {
+ "extra": {
+ "unstructured": "A. G. Mdivani, A. M. Abdul-Zade, and S. M. Kuliev, Izv. Vuzov, Neft'. i Gaz, No. 8 (1963)."
+ },
+ "index": 4,
+ "key": "BF02502132_CR5"
+ },
+ {
+ "extra": {
+ "unstructured": "N. P. Yudin and I. A. Éidel'shtein, \"Comparative investigation of the process of breaking of rocks in the Karaganda coalfield by cutter and roller bits,\" in: Scientific Communications on Problems of Rock Breaking, Abstracts of Reports [in Russian] Moscow (1964)."
+ },
+ "index": 5,
+ "key": "BF02502132_CR6"
+ },
+ {
+ "container_name": "Open-Cut Coal Mining",
+ "extra": {
+ "authors": [
+ "B. A. Katanov"
+ ],
+ "unstructured": "B. A. Katanov, N. D. Benyukh, et al., in: Open-Cut Coal Mining [in Russian], No. 11, Nedra, Moscow (1966).",
+ "volume-title": "Open-Cut Coal Mining"
+ },
+ "index": 6,
+ "key": "BF02502132_CR7",
+ "year": 1966
+ },
+ {
+ "extra": {
+ "unstructured": "B. A. Katanov, Fiz.-Tekh. Probl. Razrabotki Polezn. Iskop., No. 1 (1969)."
+ },
+ "index": 7,
+ "key": "BF02502132_CR8"
+ },
+ {
+ "container_name": "Questions of Mechanization of Mining Operations",
+ "extra": {
+ "authors": [
+ "B. A. Katanov"
+ ],
+ "unstructured": "B. A. Katanov and G. F. Markov, in: Questions of Mechanization of Mining Operations [in Russian], Izd. KuzPI, Kemerovo (1967).",
+ "volume-title": "Questions of Mechanization of Mining Operations"
+ },
+ "index": 8,
+ "key": "BF02502132_CR9",
+ "year": 1967
+ }
+ ],
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 1973,
+ "revision": "be19815e-9015-4b71-a652-8a2b24bb2458",
+ "state": "active",
+ "title": "The design of composite rock-cutting bits",
+ "work_id": "xdmkndqcn5hlfb3j3farklkilm"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index 8a40e1e..4585d62 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -116,3 +116,4 @@ zlywxoy7cfexvaatziqp4ip5m4,phqelg6oc5hs5dehhgmodcnh5u,Status.EXACT,OK.DATACITE_V
vqjpcuqxnbhdtelzspxjmklm7u,knuzh5bcqbg7ph7ffvqaiwevti,Status.AMBIGUOUS,Miss.CUSTOM_PREFIX_10_5860_CHOICE_REVIEW
psykbwxylndtdaand2ymtkgzqu,xizkwvsodzajnn4u7lgeldqoum,Status.DIFFERENT,Miss.YEAR
nb4yakyqebalbatnnfijkfhmka,pr7e4l5eibaavm3zsk62nmphni,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
+in2mm2wafbczjgzlapq55rrksq,oaezupjwnfckxaajjhjb3fl42e,Status.AMBIGUOUS,