bibclean: a name in capitals is allcaps_author, not author_list_commas

as_byline fell back to author_list_commas whenever no other fault was found,
so "STEVEN BOX" was reported as a list joined with commas. A heading with
letters and no lowercase is now allcaps_author (weight 2); the repair is the
same byline.
This commit is contained in:
funkpower committed 2026-11-24 12:00:02 -05:00
1 parent f50971a29c
commit 470e9a9e38
3 files changed
+22 -1

No files matched your search

+1
View File
@@ -153,6 +153,7 @@ const PERSON_SUFFIXES: &[&str] = &["ed", "eds", "ii", "iii", "iv", "jr", "md", "
/// What each fault is worth when the worst records are wanted first.
const WEIGHTS: &[(&str, u32)] = &[
("account_author", 3),
("allcaps_author", 2),
("allcaps_title", 2),
("author_is_title", 4),
("author_last_first", 1),