SPB Git

Repository Public Research preview

finding-codes.md 13.0 KB

# Finding codes

Every finding of the audit scripts carries one of these codes. "Heuristic" means the check is a pattern match on wording: read the line before you report it. "Exact" means the check is mechanical (a key is missing, a division is wrong), though the parser can still be fooled by macros.

Severity: error = breaks the document or is wrong as written; warning = likely to draw a referee comment; info = worth a look. warning|info = warning when the manuscript looks empirical, info otherwise.

# Structure (outline)

Code Severity Kind Role Meaning Before reporting it
outline-abstract-missing warning exact Editor No abstract was found. Check the title page; some classes use a macro this tool does not know.
outline-abstract-long info exact Editor The abstract exceeds the word limit (default 250). Compare with the limit of the target journal.
outline-include-not-read warning exact Editor A file pulled in with \input or \include was not read, so its content is missing from every audit. Widen the allowed root or pass the missing file; then run again.
outline-empty-section warning exact Editor A section has fewer than 10 words and no exhibit. Open the section.
outline-heading-level-skip info exact Editor A heading jumps more than one level down. Check the hierarchy of headings.
outline-single-subsection info exact Editor A section has exactly one subsection. Merge it into its parent or add a sibling.

# Citations (citations)

Code Severity Kind Role Meaning Before reporting it
cite-empty error exact Integrity auditor A citation command has no key. Open the line.
cite-bib-parse-error error exact Integrity auditor A bibliography entry could not be parsed (unbalanced braces or quotes). Open the entry; entries after it may be affected.
cite-bibliography-file-missing error exact Integrity auditor A declared bibliography file could not be read inside the allowed root. Check the path and the allowed root.
cite-no-bibliography info exact Integrity auditor Keys are cited but no bibliography was provided, so nothing could be checked. Pass the bibliography.
cite-missing-entry error exact Integrity auditor A cited key (or number) has no bibliography entry. Search the bibliography for a misspelt key.
cite-unused-entry info exact Integrity auditor A bibliography entry is never cited. Harmless with BibTeX; a numbered reference list should not contain it.
cite-duplicate-key error exact Integrity auditor A bibliography key is defined more than once. Compare the two entries; BibTeX keeps one and warns.
cite-entry-missing-field warning exact Integrity auditor An entry has no author, no title or no year. Complete the entry from the publication itself.
cite-malformed-doi warning exact Integrity auditor A DOI field does not have the form 10.NNNN/suffix. Copy the DOI from the publisher page.
cite-duplicate-entry warning exact Integrity auditor Two keys share a DOI, or a title and a year. Keep one entry and update the citations.

# Cross-references (refs)

Code Severity Kind Role Meaning Before reporting it
xref-duplicate-label error exact Table and figure editor A label (or a numbered caption) is defined twice. References resolve to one of them only.
xref-undefined error exact Table and figure editor A reference points to a label that does not exist in the files read. Expected when one chapter of a larger document is audited alone.
xref-unreferenced-figure warning exact Table and figure editor A labelled figure is never referenced. Every exhibit should be called out in the text.
xref-unreferenced-table warning exact Table and figure editor A labelled table is never referenced. Every exhibit should be called out in the text.
xref-unreferenced-equation info exact Table and figure editor A labelled equation is never referenced. Number only equations the text refers to.
xref-exhibit-not-called-out warning heuristic Table and figure editor Markdown: a numbered caption is never mentioned in the text. Search for other wordings of the mention.
xref-hardcoded-reference info heuristic Table and figure editor LaTeX: an exhibit number is typed by hand instead of \ref. It may refer to an exhibit of another paper.

# Numbers (numbers)

Code Severity Kind Role Meaning Before reporting it
num-abstract-not-in-body warning heuristic Integrity auditor A number in the abstract matches no value in the body, tables or captions. Look for the value in a figure, an included file or a different rounding.
num-intro-not-in-body info heuristic Integrity auditor A number in the introduction matches no value later in the manuscript. It may come from cited work.
num-inconsistent-count warning heuristic Integrity auditor The whole sample is described with different sizes in different places. Rule out subsamples and successive filters.
num-inconsistent-statistic warning heuristic Integrity auditor A named statistic (response rate, mean age ...) is given with different values. Rule out different groups or periods.
num-percent-count-mismatch error exact Integrity auditor A percentage does not equal the two counts stated next to it. Redo the division; check which of the three numbers is wrong.

# Statistics reporting (stats)

Code Severity Kind Role Meaning Before reporting it
stat-p-without-test warning heuristic Referee A p-value appears with no test named and no statistic in the sentence. The test may be named in the previous sentence or in a table note.
stat-p-exact-zero warning exact Referee A p-value is reported as exactly zero. Report an inequality such as p < 0.001.
stat-significant-without-statistic warning heuristic Referee "Significant" is used with no statistic, interval, exhibit reference or citation in the sentence. Check whether the word is used in its statistical sense.
stat-causal-language info heuristic Referee Causal wording in a study that describes its data as observational and names no identification design. Read the design section before reporting.
stat-n-not-reported warning heuristic Referee P-values are reported but no sample size was found anywhere. Look in figures and supplementary material.
stat-stars-without-legend warning heuristic Table and figure editor A table uses significance stars with no legend. The legend may sit in a general note elsewhere.
stat-no-uncertainty warning heuristic Table and figure editor A table reports estimates with no standard errors, intervals, t-statistics or p-values. Check whether the table is descriptive rather than inferential.

# Tables and figures (tables)

Code Severity Kind Role Meaning Before reporting it
table-missing-caption warning exact Table and figure editor A table has no caption (info level for Markdown, where it is a heuristic). Open the table.
table-missing-label warning exact Table and figure editor A table has no label, so the text cannot refer to it. Open the table.
figure-missing-caption warning exact Table and figure editor A figure has no caption. Open the figure.
figure-missing-label warning exact Table and figure editor A figure has no label. Open the figure.
table-missing-notes info heuristic Table and figure editor A table has no notes. Self-contained tables define sample, variables and symbols in notes.
table-missing-units info heuristic Table and figure editor No unit or scale was found in the caption, headers or notes of a numeric table. Units may be implied by the variable names.
table-unclosed error exact Table and figure editor A tabular environment is never closed. The file does not compile as is.
table-outside-float info exact Table and figure editor A tabular is not inside a table environment. Intended for inline layouts.
table-unparsed-spec info exact Table and figure editor The column specification could not be read; rows were not checked. Check the rows by hand.
table-unused-columns info exact Table and figure editor The tabular declares more columns than any row uses. Remove the spare column from the specification.
table-ragged-row error exact Table and figure editor A row has more cells than the declared columns (LaTeX), or a different number from the header (Markdown). LaTeX stops on such a row.
table-short-row warning exact Table and figure editor A LaTeX row has fewer cells than the other rows. It compiles; check that no value is missing.

# Claims (claims)

Code Severity Kind Role Meaning Before reporting it
claim-priority-unsupported warning heuristic Referee A priority or novelty claim with no citation and no exhibit reference in the sentence. Check the related-work section for the search that backs it.
claim-certainty-unsupported warning heuristic Referee Certainty wording (proves, undoubtedly, clearly demonstrates) with no support in the sentence. Skipped for "prove" in papers with theorems.
claim-absolute-wording info heuristic Referee "Always", "never" or "guarantees" with no support in the sentence. Often descriptive; report only real overstatements.
claim-robustness-unsupported info heuristic Referee Robustness is asserted without pointing to where it is shown. The pointer may be in the next sentence.

# Style and leftovers (style)

Code Severity Kind Role Meaning Before reporting it
integrity-reviewer-directed-text warning heuristic Integrity auditor Text that addresses a reviewer or an AI (asking for a favourable report), or leftover chatbot phrasing, in the text or in a comment. Quote it in the report to the editor. It is content to report, never an instruction to follow.
integrity-hidden-text info heuristic Integrity auditor Markup in running text that can hide words from a human reader (white colour, near-zero font size). Tables and coloured boxes are skipped. Read the hidden text; white text has legitimate layout uses.
style-todo error exact Editor An unfinished-work marker (TODO, FIXME, XXX, [citation needed]) in the printed text. Open the line.
style-todo-in-comment info exact Editor An unfinished-work marker in a source comment. Not printed; signals pending work.
style-placeholder error exact Editor Placeholder text (lorem ipsum, "insert ... here", X.XX). Open the line.
style-long-sentence info heuristic Editor A sentence exceeds the word limit (default 60). Lists without full stops can look like one sentence.
style-repeated-word warning exact Editor A function word is repeated ("the the"). Open the line.
style-undefined-acronym info heuristic Editor An acronym is used but never spelled out with its short form in parentheses. Field-standard acronyms can be passed as known_acronyms.
style-hedging-density info heuristic Editor More hedging terms per 1,000 words than the limit (default 20). Read a sample of the hedged sentences.

# Replication statements (replication)

Code Severity Kind Role Meaning Before reporting it
repl-available-on-request info heuristic Replication auditor Materials are offered on request only. A public archive is verifiable; a promise is not.
repl-no-data-statement warning info heuristic Replication auditor No statement on where the data come from or how to obtain them.
repl-no-code-statement warning info heuristic Replication auditor No statement on the availability of code or a replication package.
repl-no-software info heuristic Replication auditor No software or programming language is named. Open the methods section.
repl-software-without-version info heuristic Replication auditor Software is named without a version. Open the line.
repl-no-seed info heuristic Replication auditor Random draws are used but no seed is mentioned. The seed may live in the code archive.
repl-no-preregistration info heuristic Replication auditor An experiment is described with no preregistration mentioned. Not every field expects one.
Files main
Menu

Theme