Skip to content

docs(methodology): Blair, Cooper, Coppock & Humphreys (2019) design declaration and diagnosis paper review - #893

Merged
igerber merged 1 commit into
mainfrom
docs/paper-review-blair-2019
Nov 22, 2026
Merged

igerber merged 1 commit into
mainfrom
docs/paper-review-blair-2019

Conversation

@igerber

@igerber igerber commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Add docs/methodology/papers/blair-2019-review.md, a source audit of Blair, Cooper, Coppock and Humphreys (2019), "Declaring and Diagnosing Research Designs" (American Political Science Review 113(3), 838-859). It is one of the source reviews for prospective design-stage tooling, and supplies the framework and vocabulary.

  • Records the model / inquiry / data strategy / answer strategy framework, the Table 1 diagnosand roster with the design elements each requires, the six-step simulation diagnosis procedure, and the three criteria the paper names for admitting an alternative answer strategy.
  • Collects verbatim what the paper says about pre-registration, reconciling planned and realized designs, and its statement that nothing in the framework enforces honest declaration.
  • States explicitly what the paper does not provide: no placebo assignment or effect injection on real data, no difference-in-differences or panel content, no minimum-detectable-effect or sample-size search, no size diagnosand, no estimator-selection rule, and no enforcement mechanism.
  • Maps the paper's diagnosands to existing SimulationPowerResults field names by name only, without auditing each field's computation.
  • Keeps the prospective registry text inside the review, marked non-authoritative. This PR introduces no estimator, public API, or REGISTRY change.
  • Registers the review's listing of the simulate_power estimator argument spelling in the naming guard's reasoned consumer allowlist.

Methodology references (required if estimator / math changes)

  • Method name(s): design declaration and diagnosis (prospective design-diagnosis capability; working title only).
  • Paper / source link(s): Blair, G., Cooper, J., Coppock, A., & Humphreys, M. (2019). Declaring and Diagnosing Research Designs. American Political Science Review, 113(3), 838-859. https://doi.org/10.1017/S0003055419000194
  • Any intentional deviations from the source (and why): None. The review transcribes the source; reviewer reconstructions are labelled as such. The supplementary materials and the accompanying software were not reviewed, and the review says so.

Validation

  • Tests added/updated: tests/test_naming_guard.py gains one reasoned allowlist entry.
  • Executed locally: DIFF_DIFF_BACKEND=python python -m pytest tests/test_naming_guard.py tests/test_changelog_fragments.py tests/test_docs_ia.py tests/test_doc_deps_integrity.py tests/test_tracking_files.py - 420 passed. black --check and ruff check on the changed test file pass. premerge_scan.py reports zero findings and changelog_compile.py check passes.
  • Manual verification against the source PDF: Table 1 in full (all twelve diagnosands and their requirement marks), the reconciliation and enforcement passages (pp. 852, 856), and the other load-bearing items listed in the review's verification stamp. Quoted passages were compared against the PDF text layer.
  • Backtest / simulation / notebook evidence (if applicable): N/A - no executable behavior changes.

Security / privacy

  • Confirm no secrets/PII in this PR: Yes. The source PDF is not committed.

Changelog

  • changelog.d/ fragment added (or N/A - no user-visible change): Yes

…eclaration and diagnosis paper review

Add docs/methodology/papers/blair-2019-review.md, a source audit of
"Declaring and Diagnosing Research Designs" (American Political Science Review
113(3), 838-859): the model / inquiry / data strategy / answer strategy
framework, the Table 1 diagnosand roster, the simulation diagnosis procedure,
the paper's treatment of pre-registration and reconciliation of planned and
realized designs, and an explicit list of what the paper does not provide.

The review is a non-authoritative source audit for prospective design-stage
tooling. No estimator, public API, or REGISTRY section changes.

Register the review's listing of the simulate_power `estimator` argument
spelling in the naming guard's reasoned consumer allowlist.
@github-actions

Copy link
Copy Markdown

✅ Looks good

No confirmed P0/P1 findings in the supplied diff. Independent verification against the paper remains incomplete because the source could not be retrieved.

Executive summary

  • Changes are limited to documentation, a changelog fragment, and one naming-guard exception.
  • No estimator, weighting, variance, inference, identification assumption, or default behavior changes.
  • Proposed registry text is explicitly non-authoritative; reconstructed formulas are clearly labelled.
  • The allowlist exception matches the existing simulate_power(estimator=...) argument.
  • Changelog validation and static checks passed. Pytest could not run because it is unavailable.

Methodology

No confirmed findings. The affected material describes Blair et al.’s design-declaration and diagnosis framework. Its proposed status is explicit at docs/methodology/papers/blair-2019-review.md:L13-L17; it does not modify the existing PowerAnalysis contract in docs/methodology/REGISTRY.md:L6834-L6930.

The field mapping expressly disclaims computational equivalence at docs/methodology/papers/blair-2019-review.md:L519-L521. I verified that the listed fields exist.

Verification limitation: Network name resolution failed when retrieving the DOI. Quotations, Table 1 transcription, and claims about what the paper omits were therefore not independently verified.

Code Quality

No findings. The new exception is scoped to one token/file pair and provides a relevant reason at tests/test_naming_guard.py:L1368-L1370.

Performance

No findings. No runtime estimation or simulation code changes.

Maintainability

No findings. The review distinguishes source statements, reviewer reconstructions, proposed requirements, and implementation notes.

Tech Debt

No findings. This documentation-only change introduces no executable feature requiring additional assumption checks or inference guards.

Security

No findings in the changed files.

Documentation/Tests

No confirmed findings. The changelog fragment follows the repository convention, and changelog_compile.py check passed. Static checks confirmed valid Python syntax, a unique reasoned allowlist entry, and the documented argument/result-field names.

The requested pytest suite stopped immediately with No module named pytest; the PR’s reported 420 passing tests were not reproduced locally.

@igerber igerber added the ready-for-ci Triggers CI test workflows label Nov 22, 2026
@igerber
igerber merged commit d58d74f into main Nov 22, 2026
39 of 40 checks passed
@igerber
igerber deleted the docs/paper-review-blair-2019 branch November 22, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ci Triggers CI test workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant