-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Mode-aware consistency check #13467
Copy link
Copy link
Labels
component: consistency-checkgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.size: medium📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Metadata
Metadata
Assignees
Labels
component: consistency-checkgood first issueAn issue intended for project-newcomers. Varies in difficulty.An issue intended for project-newcomers. Varies in difficulty.size: medium📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)Assigned by assign-issue-action (or manually assigned)
Type
Fields
Give feedbackNo fields configured for task.
Projects
StatusShow more project fields
Done
We have a library consistency check for checking whether fields in a set of entries are set/unset consistently. Currently, this is NOT aware of the difference of BibTeX and BibLaTeX.
⚠ This is a good excercise to learn test-driven development and using a data model. This issue cannot be solved with an AI. You really have to think though BibTeX and BibLaTeX for yourself! Take this issue only if you are willing to invest significant time. ⚠
Example:
In BibTeX: Only
withDate, field:dateshould be reported, because both entries takeurldate.In BibLaTeX: Only
withoutDate, field:date(missing) should be reported, because required fielddateis missing.Task
org.jabref.logic.quality.consistency.BibliographyConsistencyCheckto use a completeBibDatabaseContextinstead of a list of entriesorg.jabref.logic.quality.consistency.BibliographyConsistencyCheck#checkto adhere the modeHints
@online:org.jabref.model.entry.types.BiblatexEntryTypeDefinitions#ONLINEorg.jabref.model.entry.types.BibtexEntryTypeDefinitionsandorg.jabref.model.entry.types.BiblatexEntryTypeDefinitionsorg.jabref.model.entry.BibEntryType#getRequiredFieldsorg.jabref.logic.quality.consistency.BibliographyConsistencyCheckTest#unsetFieldsReportedagain.