Package: Gtheory4LLM 0.5.0
Gtheory4LLM: Generalizability Theory for LLM Subjective Tasks
Studies the reliability and generalizability of subjective judgments produced by large language models (LLMs), including annotation, rating, and structured LLM-as-a-judge tasks. Specifies evaluator, prompt, generation, and repeated-run facets through crossed or explicitly nested random sources with configurable item interactions. Fits univariate models, joint Gaussian models, and joint discrete models for binary, ordinal, and unordered categorical outcomes, with source-specific covariance. Gaussian models use exact balanced likelihood; discrete models use a dense first-order Laplace approximation with Gaussian latent random effects. Supported balanced decision studies compare evaluator, prompt, and replication allocations using observed Gaussian or explicitly requested latent binary and ordinal reliability, with random or fixed facets after Brennan (2001). Gaussian fits report asymptotic Wald standard errors for their variance components and delta-method intervals for the coefficients; discrete fits report point estimates only. Provides fixed-layout Gaussian batch projections, bounded cost-aware allocation comparisons, and Gaussian simulation-based pilot precision planning. Scalar nominal reliability and joint Gaussian-discrete fitting are not implemented. Includes three publicly archived LLM annotation datasets covering hate-speech, mental-health, and drug-review tasks. Discrete fitting is limited to small models; the preflight report describes supported designs and computational limits. Generalizability coefficients follow the variance-decomposition framework of Brennan (2001) <doi:10.1007/978-1-4757-3456-0>.
Authors:
Gtheory4LLM_0.5.0.tar.gz
Gtheory4LLM_0.5.0.zip(r-4.7-any)Gtheory4LLM_0.5.0.zip(r-4.6-any)Gtheory4LLM_0.5.0.zip(r-4.5-any)
Gtheory4LLM_0.5.0.tgz(r-4.6-any)Gtheory4LLM_0.5.0.tgz(r-4.5-any)
Gtheory4LLM_0.5.0.tar.gz(r-4.7-any)Gtheory4LLM_0.5.0.tar.gz(r-4.6-any)
Gtheory4LLM_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Gtheory4LLM/json (API)
| # Install 'Gtheory4LLM' in R: |
| install.packages('Gtheory4LLM', repos = c('https://veronica0206.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/veronica0206/gtheory4llm/issues
Last updated from:e45cfa40da. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 237 | ||
| source / vignettes | OK | 241 | ||
| linux-release | OK | 302 | ||
| macos-release | OK | 299 | ||
| macos-oldrel | OK | 240 | ||
| windows-devel | OK | 325 | ||
| windows-release | OK | 217 | ||
| windows-oldrel | OK | 333 | ||
| wasm-release | OK | 112 |
Exports:gt_batchgt_batch_dstudygt_batch_reliabilitygt_component_vcovgt_componentsgt_controlgt_designgt_diagnosticsgt_dstudygt_dstudy_targetgt_examplegt_export_reportgt_familygt_fitgt_pilot_plangt_plangt_preflightgt_reliabilitygt_reportgt_scoregt_simulate
Dependencies:BHclidigestlatticelifecycleMASSMatrixmvtnormOpenMxRcppRcppEigenRcppParallelrlangrpfStanHeaders
Last update: 2026-10-09
Started: 2026-10-09
Last update: 2026-10-04
Started: 2026-09-13