Skip to content

Test every component print, the APA reports, and the legacy paths - #77

Merged
JUhalt merged 1 commit into
masterfrom
test/component-prints
Sep 27, 2026
Merged

JUhalt merged 1 commit into
masterfrom
test/component-prints

Conversation

@JUhalt

@JUhalt JUhalt commented Sep 27, 2026

Copy link
Copy Markdown
Owner

Tests only, ahead of tagging 0.9.0. In the pre-release review, the maintainer chose to close a coverage gap I had left before publishing. The 0.9.0 print methods were only half covered: R/component_print.R stood at 57% in CI, which pulled overall coverage from 94.5% at 0.8.0 down to 92.9%. No package code changes.

  • test-component-print.R: all 14 component prints are now tested, including the branches their notes depend on:
    • no interval, missing assignments, a bootstrap interval;
    • a between-judges ANOVA (whole-number df, no Greenhouse–Geisser note);
    • expert judges (no Colquitt band);
    • a chi-square that can't be computed;
    • pairs sorted by different numbers of judges;
    • a csv_binom_test() result saved before 0.9.0;
    • the plain print after subsetting.
  • test-reporting.R: the APA report for every workflow and expert mode (construct rating, essentiality, congruence, Delphi, domain), and the note an empty APA report prints.
  • test-legacy-paths.R (new):
    • the Monte Carlo helpers' argument checks and results, taking sim_helpers.R from 41% to fully covered;
    • older decision wording mapping onto the shared statuses;
    • the workflow constructor's checks and legacy aliases;
    • expert objects saved before 0.0.6, in all three modes.

Result: all 2,940 tests pass (80 new), and covr measures 95.6% locally.

After this merges, master is merged into the release branch (#76), which is re-gated before the release is merged, tagged, and published.

🤖 Generated with Claude Code

The 0.9.0 print methods were only half covered: R/component_print.R stood
at 57% in CI, which pulled overall coverage from 94.5% (0.8.0) to 92.9%.
Tests only; no package code changes.

- test-component-print.R: every one of the 14 component prints, with the
  branches their notes depend on: no interval, missing assignments, a
  bootstrap interval, a between-judges ANOVA (no Greenhouse-Geisser note),
  expert judges (no Colquitt band), a chi-square that cannot be computed,
  pairs sorted by different numbers of judges, a csv_binom_test result
  saved before 0.9.0, and the plain print after subsetting.
- test-reporting.R: the APA report for every workflow and expert mode
  (construct rating, essentiality, congruence, Delphi, domain), and the
  note an empty APA report prints.
- test-legacy-paths.R (new): the Monte Carlo helpers' argument checks and
  results, older decision wording mapping onto the shared statuses, the
  workflow constructor's checks and legacy aliases, and expert objects
  saved before 0.0.6 in all three modes.

Coverage: 95.6% measured locally with covr (92.9% before, 94.5% at
0.8.0). All 2,940 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JUhalt
JUhalt merged commit 6fa760b into master Sep 27, 2026
8 checks passed
JUhalt added a commit that referenced this pull request Sep 27, 2026
Brings #77's tests (every component print, the APA reports, and the
legacy paths) into the release, so the tag carries them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JUhalt added a commit that referenced this pull request Sep 27, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JUhalt added a commit that referenced this pull request Sep 27, 2026
Stamps the version, release notes, citation metadata, README, and roadmap
for the ninth public release, which is about how the package presents
itself before 1.0: every reference list in APA 7 form (#72), shorter output
that says what it means with component functions and report tables in APA
style (#73), figures that show the criterion and the uncertainty with alt
text on every figure (#74), and a README that is a front page (#75).

No computed value changes: 25 analyses across every workflow return the
same values as v0.8.0. Breaking: content_report() writes an APA table by
default (format = "data.frame" restores the numeric table), and the 14
component results gain a class so they print formatted (values unchanged).
Deprecated: agreement_summary(), removed in 1.0.0; use panel_agreement().

Before tagging, #77 tested every component print, the APA reports, and
the legacy paths: 2,940 tests pass and coverage is 95.6% (94.5% at 0.8.0).
Release gate passed on a commit with this tree. Published on GitHub and
R-universe. 0.4.0 is still in CRAN's review queue, and CRAN policy asks
that no further version be submitted while one is pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant