From 5bd8ee08a3e0f52893c1b7afa6bc4f062b7c062c Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 6 Dec 2021 19:59:51 +0100 Subject: matching: cleanup test files --- .../0.yaml | 14 -------------- .../1.yaml | 14 -------------- .../2.yaml | 17 ----------------- .../3.yaml | 17 ----------------- .../4.yaml | 17 ----------------- .../5.yaml | 17 ----------------- .../6.yaml | 14 -------------- .../7.yaml | 17 ----------------- 8 files changed, 127 deletions(-) delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/0.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/1.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/2.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/3.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/4.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/5.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/6.yaml delete mode 100644 tests/files/fuzzy_release_match_release_exact_title_partial_contrib/7.yaml (limited to 'tests/files/fuzzy_release_match_release_exact_title_partial_contrib') diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/0.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/0.yaml deleted file mode 100644 index 07230e8..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/0.yaml +++ /dev/null @@ -1,14 +0,0 @@ -title: titles are case insensitive -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Michael Adams" - } - ], - "title": "digital libraries", - "ext_ids": {} - } -jaccard_index_threshold: 1.0 -expected: 2 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/1.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/1.yaml deleted file mode 100644 index 62e9586..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/1.yaml +++ /dev/null @@ -1,14 +0,0 @@ -title: another vanilla query -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Poul-Henning Kamp" - } - ], - "title": "The hyperdimensional tar pit", - "ext_ids": {} - } -jaccard_index_threshold: 1.0 -expected: 2 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/2.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/2.yaml deleted file mode 100644 index b89e825..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/2.yaml +++ /dev/null @@ -1,17 +0,0 @@ -title: order of contribs does not matter -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Maurice Florence" - }, - { - "raw_name": "Tuomo Tiisala" - } - ], - "title": "Foucault", - "ext_ids": {} - } -jaccard_index_threshold: 1.0 -expected: 1 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/3.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/3.yaml deleted file mode 100644 index 3de7262..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/3.yaml +++ /dev/null @@ -1,17 +0,0 @@ -title: order of contribs does not matter -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Tuomo Tiisala" - }, - { - "raw_name": "Maurice Florence" - } - ], - "title": "Foucault", - "ext_ids": {} - } -jaccard_index_threshold: 1.0 -expected: 1 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/4.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/4.yaml deleted file mode 100644 index 39fb065..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/4.yaml +++ /dev/null @@ -1,17 +0,0 @@ -title: short version of name should not work -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Tuomo Tiisala" - }, - { - "raw_name": "M. Florence" - } - ], - "title": "Foucault", - "ext_ids": {} - } -jaccard_index_threshold: 1.0 -expected: 0 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/5.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/5.yaml deleted file mode 100644 index fff19fa..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/5.yaml +++ /dev/null @@ -1,17 +0,0 @@ -title: here, Iz Beltagy is missing from author, but still retrieved -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Arman Cohan" - }, - { - "raw_name": "Kyle Lo" - } - ], - "title": "SciBERT: A Pretrained Language Model for Scientific Text", - "ext_ids": {} - } -jaccard_index_threshold: 0.5 -expected: 3 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/6.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/6.yaml deleted file mode 100644 index d4e0025..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/6.yaml +++ /dev/null @@ -1,14 +0,0 @@ -title: here, 2/3 authors are missing, we fail with jaccard index 0.5 -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Arman Cohan" - } - ], - "title": "SciBERT: A Pretrained Language Model for Scientific Text", - "ext_ids": {} - } -jaccard_index_threshold: 0.5 -expected: 0 diff --git a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/7.yaml b/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/7.yaml deleted file mode 100644 index 23d5a8d..0000000 --- a/tests/files/fuzzy_release_match_release_exact_title_partial_contrib/7.yaml +++ /dev/null @@ -1,17 +0,0 @@ -title: match, despite trailing whitespace -date: 2021-11-08 -input: > - { - "contribs": [ - { - "raw_name": "Arman Cohan" - }, - { - "raw_name": "Kyle Lo" - } - ], - "title": "SciBERT: A Pretrained Language Model for Scientific Text ", - "ext_ids": {} - } -jaccard_index_threshold: 0.5 -expected: 3 -- cgit v1.2.3