Code annotation
Tier 2 · Executable - Silver recommended
Rating
Every script has a header stating its purpose, inputs and outputs; the code is commented throughout so that a reader who does not use the software can follow each section; and comments indicate which section produces which table or figure.
Comments are present but incomplete: e.g. some scripts lack headers, comments are sparse or outdated, or there is no link between code sections and the tables/figures they produce.
The code has no meaningful comments or headers; a reader can only find out what it does by reverse-engineering it.
Based on: #70 ‘if you did not document your code … fail’, #83 correspondence between code and figures, #108 coding conventions, comments, white space, #128 well-structured and comprehensible, #10 explanation for human readers.
Never.
Prerequisites
Check order: 2
Builds on
- Code deposit (1 source)
Prerequisite for
- Codes consistent with claims (1 source)
In the corpus
| Sources | Injunctive | Descriptive | Tacit | Automatable | Manual check | Automation unclear | LLM sources |
|---|---|---|---|---|---|---|---|
| 6 | 83.3% | 0% | 16.7% | 0% | 0% | 100% | 0 |