Repository navigation
Hand off a Delphi workflow to empirical validation - #43
Merged
Merged
Conversation
content_handoff() now accepts a delphi_validity() fit. A Delphi settles one item at a time, so each item travels with the evidence of its own last round, and `round` holds that round's index rather than a constant. It is the first workflow where that field carries real information, and it cannot be set by hand for a Delphi fit. Relevance evidence comes from the item's last round with intervals. Stability travels beside the decision as proportion unchanged plus the statistic that ran, and never decides what is carried. Modified kappa carries no criterion here, because a Delphi decides on the consensus threshold rather than the 0.74 rule. Statistic names are qualified at the nomologR maintainers' request, so a downstream report cannot read "lambda" as a factor loading (nomologR#46). Closes #42. Co-Authored-By: Claude Opus 5 <[email protected]>
CRAN now serves macOS binaries as zstd archives. The stable pak cannot extract them, so every macOS job failed in setup-r-dependencies with "Cannot extract knitr_1.52.tgz, unknown archive type", before the package was built. Clearing the runner cache did not help: a freshly downloaded file has zstd magic bytes (28 b5 2f fd) rather than gzip's. The development pak handles zstd. Scoped to macOS, and to be dropped once the stable pak does too. Co-Authored-By: Claude Opus 5 <[email protected]>
CRAN's macOS builder now compresses .tgz binaries with zstd, which pkgdepends cannot extract, so every macOS job failed during dependency installation with "unknown archive type" (r-lib/pkgdepends#485, filed today with the same symptom). The development pak does not help, so that attempt is reverted. use-public-rspm: always makes macOS take gzip binaries from Posit Package Manager instead. This is the pkgdepends maintainer's suggested workaround on that issue. Revert to "true" once CRAN's archives can be extracted again. Co-Authored-By: Claude Opus 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #42, the whole of the v0.6.0 milestone. Master moves to the development version
0.5.0.9000.The gap this closes
content_handoff()refused adelphi_validity()fit, and its error message did not even mention Delphi. A Delphi study is item-level and ends with exactly the evidence the handoff exists to carry, so the refusal was wrong on the merits. The workaround — handing off the last round's fit — dropped what makes a Delphi a Delphi.What a Delphi handoff carries
roundnow holds that round's index, so it varies within one handoff. Every other workflow writes a constant there, because one fit is one round.roundcannot be set by hand for a Delphi fit, since the fit supplies it. Passing it is an error rather than silently ignored.expert_validity()fit, so the intervals come with it:I-CVIagainst the consensus threshold,Aiken's V, andmodified kappa.expert_validity()applies. Claiming that criterion would misreport which rule ran.proportion unchangedplus the statistic that ran, named for its method. The chi-square methods addstability p_valueagainstalpha.Names, at the nomologR maintainers' request
They reviewed the new
statisticvalues before anything was tagged (nomologR#46):lambdabecameGoodman-Kruskal lambda. Inside a psychometrics package a bare lambda reads as a factor loading, or as one of Guttman's reliability coefficients, so a report printing it verbatim could mislead. The qualified name is also the more accurate one.share unchangedbecameproportion unchanged, to match the field's vocabulary rather than finance's.They also asked for a documentation point that I have added: which statistics carry a
criteriondepends on the workflow, not on the statistic alone. A reader treating that list as absolute would conclude a Delphi handoff is malformed.Tests
The full suite passes: 2,002 expectations, 0 failures.
spellingis clean. New tests cover:stability p_valueagainst alpha;roundbeing refused, and provenance recording the method and citations.A local
R CMD check --as-cranwas running when the two renames landed, so it covers the tree before them; CI covers the final state.Closes #42.
🤖 Generated with Claude Code