{
  "title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
  "version": "0.4.2",
  "doi": "10.5281/zenodo.20417104",
  "doi_url": "https://doi.org/10.5281/zenodo.20417104",
  "zenodo_record": "https://zenodo.org/records/20417104",
  "record_id": "20932047",
  "publication_date": "2026",
  "resource_type": {
    "title": "Journal article",
    "type": "publication",
    "subtype": "article"
  },
  "creators": [
    {
      "name": "Daniel Ari Friedman",
      "affiliation": "Active Inference Institute",
      "orcid": "0000-0001-6232-9096"
    }
  ],
  "description": "This paper documents template_prose_project, the prose-focused exemplar of the Research Project Template (https://github.com/docxology/template). It pairs the template's two-layer architecture with the prose analysis infrastructure (https://github.com/docxology/template/tree/main/infrastructure/prose) (readability metrics, structural outline, editorial quality flags) and the reference validation infrastructure (https://github.com/docxology/template/tree/main/infrastructure/reference) (BibTeX validation), demonstrating that rigorous editorial review can be expressed as a configurable, deterministic pipeline with no novel domain algorithm of its own.\n\nA single manuscript/config.yaml defines target grade-level bands, citation-density floors, structural rules (every section has an H1, no heading levels skipped), and bibliography-consistency policy. The pipeline reads the manuscript, runs the prose analysers, cross-checks every  citation against manuscript/references.bib, evaluates the configured checks, and writes a deterministic markdown review report alongside three figures (per-file word counts, readability metrics, citation density) and a JSON manuscript_report.json suitable for CI artefacts.\n\nRun snapshot. The current configuration analyses 8 file(s) totalling 1742 words across 86 sentence(s) and 64 paragraph(s). Average Flesch-Kincaid grade level is 15.93; average Gunning Fog index is 16.69; the manuscript references 6 unique citation key(s); the longest section is 413 words and the shortest is 17. These numbers are auto-substituted by scripts/z_generate_manuscript_variables.py after every run, so the abstract tracks the JSON outputs in output/.\n\nThe contribution is methodological and architectural: a generic, reusable prose-quality module (infrastructure/prose/) that any project in the template can opt into, plus a minimal, configurable exemplar (projects/templates/template_prose_project/) that wires it to the bibliography and the manuscript pipeline.\n\nKeywords: prose analysis, readability, editorial review, reproducible manuscript review, scientific infrastructure\n\n---\nAssociated artifacts\nGitHub release: v0.4.2 (https://github.com/docxology/template_prose_project/releases/tag/v0.4.2)\nDOI: https://doi.org/10.5281/zenodo.20417104\nZenodo: https://zenodo.org/records/20417104\nPDF SHA-256: 290d21b10bd588b978d6a3200cdf0e3c2441ca86fcdc777ab41975fa910a260e",
  "keywords": [
    "prose analysis",
    "readability",
    "editorial review",
    "reproducible research",
    "manuscript quality"
  ],
  "files": [
    {
      "name": "Friedman_2026_Editorial_290d21b1.pdf",
      "size_bytes": 132373,
      "checksum": "md5:2782a0f46d35d45bd44dd1f215cc31fa",
      "download_url": "https://zenodo.org/api/records/20932047/files/Friedman_2026_Editorial_290d21b1.pdf/content"
    }
  ],
  "related_resources": [
    {
      "type": "repository",
      "url": "https://github.com/docxology/template_prose_project"
    }
  ],
  "github_repo": "docxology/template_prose_project",
  "github_release_url": "https://github.com/docxology/template_prose_project/releases/tag/v0.4.2",
  "release_tag": "v0.4.2",
  "release_name": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline (v0.4.2)",
  "pdf_sha256": "290d21b10bd588b978d6a3200cdf0e3c2441ca86fcdc777ab41975fa910a260e",
  "pairing_confidence": "strong",
  "pairing_evidence": [
    "zenodo_related_identifier_mentions_release",
    "github_repo_self_linked",
    "title_overlap"
  ],
  "checked_at": "2026-09-24T18:29:54Z",
  "accepted_pairings": [
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/0.1",
      "release_tag": "0.1",
      "release_name": "0.1",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/0.2",
      "release_tag": "0.2",
      "release_name": "0.2",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/0.3",
      "release_tag": "0.3",
      "release_name": "0.3",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/0.4",
      "release_tag": "0.4",
      "release_name": "0.4",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/0.5",
      "release_tag": "0.5",
      "release_name": "Multiproject",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template",
      "github_release_url": "https://github.com/docxology/template/releases/tag/v3.0.0",
      "release_tag": "v3.0.0",
      "release_name": "Research Project Template v3.0.0",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template_prose_project",
      "github_release_url": "https://github.com/docxology/template_prose_project/releases/tag/v0.2.0",
      "release_tag": "v0.2.0",
      "release_name": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline (v0.2.0)",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked",
        "title_overlap"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    },
    {
      "doi": "10.5281/zenodo.20417104",
      "record_title": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline",
      "zenodo_record_url": "https://zenodo.org/records/20420342",
      "github_repo": "docxology/template_prose_project",
      "github_release_url": "https://github.com/docxology/template_prose_project/releases/tag/v0.3.0",
      "release_tag": "v0.3.0",
      "release_name": "Editorial Quality at Scale: A Reproducible Prose-Review Pipeline (v0.3.0)",
      "resource_type": {
        "title": "Journal article",
        "type": "publication",
        "subtype": "article"
      },
      "raw_confidence": "needs_review",
      "evidence": [
        "github_repo_self_linked",
        "title_overlap"
      ],
      "review_decision": "accept",
      "reviewed_at": "2026-06-04T22:32:27Z",
      "review_source": "user: Accept for all",
      "source_report": "reports/paired_publications_2026-06-04.json"
    }
  ],
  "manual_pairing_review": {
    "decision": "accept",
    "reviewed_at": "2026-06-04T22:32:27Z",
    "source": "data/paired-publication-decisions.json"
  },
  "domain": "Computational",
  "type": "Paper",
  "methods": [
    {
      "name": "Five-stage pure-function pipeline: read, analyse, cross-check, evaluate, render",
      "description": "template_prose_project implements editorial review as five pure-function stages in src/, with scripts limited to argument parsing and I/O.",
      "evidence": "The pipeline runs in five stages, each a pure function in the project’s src/ modules; the orchestrator script in scripts/ does only argument parsing and filesystem I/O."
    },
    {
      "name": "Readability metrics: Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog",
      "description": "Per-file metrics are computed with textbook readability formulae over a vowel-group syllable heuristic.",
      "evidence": "The implementations are textbook formulae over a vowel-group syllable heuristic; they’re good enough for a writer-facing signal, not for linguistic research."
    },
    {
      "name": "Heuristic quality flags: passive voice, hedge density, citation density",
      "description": "A quality analyser flags passive-voice candidates, hedge words, Pandoc [@key] citation density, and long sentences.",
      "evidence": "passive-voice candidates (heuristic: “be” form + past participle), hedge-word density, citation density (Pandoc-style [@key] extraction), long-sentence flagging."
    },
    {
      "name": "Citation-key cross-check against references.bib with configurable policy",
      "description": "Every cited key is matched against the BibTeX file, with fail_on_missing / fail_on_unused settings in config.yaml.",
      "evidence": "Every cited key is matched against the BibTeX file at bibliography.references_path. The check has four tunable behaviours via config.yaml:"
    },
    {
      "name": "Run-twice diff test for byte-identical JSON output",
      "description": "Reproducibility is checked locally by running the pipeline twice and diffing manuscript_report.json.",
      "evidence": "The diff should be empty. If it is not, the pipeline has acquired non-determinism — file an issue."
    }
  ],
  "key_findings": [
    "The paper reports that editorial review can be expressed as a configurable, deterministic pipeline with no novel domain algorithm of its own.",
    "On the bundled manuscript, the run analysed 8 files totalling 1731 words, with average Flesch-Kincaid grade 15.87 and Gunning Fog 16.67.",
    "Because no external service is consulted, a second run on the same inputs produces byte-identical JSON (modulo timestamp metadata).",
    "The stated contribution is architectural: a reusable prose-quality module any template project can opt into, plus a minimal configurable exemplar."
  ],
  "related_papers": [
    "2023_NSFReporting",
    "2023_NaturalAIBased",
    "2025_AuBI"
  ],
  "related_software": [
    "docxology/template_prose_project"
  ],
  "key_findings_evidence": [
    "demonstrating that rigorous editorial review can be expressed as a configurable, deterministic pipeline with no novel domain algorithm of its own.",
    "The current configuration analyses 8 file(s) totalling 1731 words across 86 sentence(s) and 64 paragraph(s). Average Flesch-Kincaid grade level is 15.87; average Gunning Fog index is 16.67",
    "Because the pipeline does not consult any external service, every artefact is reproducible from the manuscript text + config.yaml alone. A second run on the same inputs produces byte-identical JSON",
    "The contribution of this exemplar is architectural: a generic, reusable prose-quality module that any project in the template can opt into, and a minimal, configurable exemplar wiring it to the bibliography and the manuscript pipeline."
  ],
  "summary_provenance": {
    "source": "full_text.md",
    "date": "2026-10-01",
    "work_kind": "software/methods",
    "method": "Evidence-grounded extraction from full_text.md: every method and finding carries a verbatim quote from the paper text, mechanically verified to occur in full_text.md (whitespace/ligature-normalized) before merge.",
    "notes": "Paper explicitly states it carries no novel research contribution; run-snapshot numbers are auto-substituted per run and may differ across versions.",
    "reviewed": "2026-10-01 independent review of every item against its quote and context; no corrections needed"
  }
}
