From 461280538c96cfbbff7a85ab32fb162909fe64f7 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 14 Dec 2020 20:39:31 +0100 Subject: update docs --- fuzzycat/verify.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fuzzycat/verify.py b/fuzzycat/verify.py index 9fcd62e..93b9f1d 100644 --- a/fuzzycat/verify.py +++ b/fuzzycat/verify.py @@ -151,6 +151,13 @@ class GroupVerifier: def verify(a: Dict, b: Dict, min_title_length=5) -> Tuple[str, str]: """ Compare two entities (dicts), return tuple of match status and reason. + + Note: This is a too long function, but tested so open to near-term + refactor. On the plus, it is uniform in the sense, that a few lines take + care of a specific case. + + The cases are relatively independent, so order should not matter, but that + can be pinned down much more clearly. """ # A few items have the same DOI. -- cgit v1.2.3