Paper
paper
Paper checks — the invariants of a research paper, not of a package.
A paper carries none of a Python distribution's invariants (no Diataxis
mkdocs, no Trusted Publishing, no CI matrix) but has its own: a paper/
directory, an experiments/ directory, a README, and a plan document
declaring the intention through a YAML front-matter header.
check_paper_structure(project)
Check: the paper carries the entries its topology requires.
Four entries are unconditional (paper/, experiments/,
README.md, PIPELINE.md). INDEX.md is conditional: it is
generated from the experiment manifests, so a paper with no experiment
yet carries none legitimately — but once experiments exist, its absence
means the registry was never produced.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
Path
|
Paper root directory. |
required |
Returns:
| Type | Description |
|---|---|
CheckResult
|
A failed |
Source code in packages/axm-init/src/axm_init/checks/paper.py
check_plan_present(project)
Check: the plan document exists and declares a front-matter header.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
Path
|
Paper root directory. |
required |
Returns:
| Type | Description |
|---|---|
CheckResult
|
A failed |
CheckResult
|
non-empty YAML front-matter, a passed one otherwise. |
Source code in packages/axm-init/src/axm_init/checks/paper.py
check_research_present(project)
Check: the research protocol document exists and declares a header.
Purely formal, like every axm-init check: it grades the FORM (presence
of RESEARCH.md plus a non-empty YAML front-matter) and never reads
the substance of that header - no gap, no investigations, no
status. The authoritative model lives in another package.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
Path
|
Paper root directory. |
required |
Returns:
| Type | Description |
|---|---|
CheckResult
|
A failed |
CheckResult
|
no non-empty YAML front-matter, a passed one otherwise. |