aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-21 01:00:06 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-21 01:00:06 +0100
commitd2d73dac0bc408719be0e9e142e4d946a050bbed (patch)
tree854f3bfaded1259bd2632e06a54be191fffb1fc8
parent7b3de888ca1f7aead51929f64d4dc8e1a9745c4b (diff)
downloadfuzzycat-d2d73dac0bc408719be0e9e142e4d946a050bbed.tar.gz
fuzzycat-d2d73dac0bc408719be0e9e142e4d946a050bbed.zip
remove title log for now
-rw-r--r--fuzzycat/verify.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py
index 5e41e1c..eeafaf6 100644
--- a/fuzzycat/verify.py
+++ b/fuzzycat/verify.py
@@ -50,6 +50,10 @@ WIPv1 (10m)
"skip.unique": 8808462,
"total": 9481815
}
+
+TODO: allow to pass in a DOI blacklist, e.g. a list of DOI which are not valid
+any more; example: https://fatcat.wiki/release/azbcyqjnmrdofigpgk24ck4rpq,
+https://fatcat.wiki/release/eb2uf5ae7bedxe22jasf2l3faa
"""
import collections
@@ -162,11 +166,6 @@ class GroupVerifier:
self.counter["total"] = sum(v for _, v in self.counter.items())
print(json.dumps(dict(self.counter)), file=sys.stderr)
- with open("xxxx-todo", "w") as f:
- print(json.dumps(todo.most_common()), file=f)
-
-
-todo = collections.Counter()
def compare(a, b):
@@ -356,7 +355,6 @@ def compare(a, b):
# https://fatcat.wiki/release/q66xv7drk5fnph7enwwlkyuwqm
return (Status.DIFFERENT, Miss.CONTRIB_INTERSECTION_EMPTY)
- todo[a.get("title")] += 1
return (Status.AMBIGUOUS, OK.DUMMY)