{
  "_id": "6ae1088095ca2370cc8cabb3",
  "Package": "semanticfa",
  "Title": "Semantic Factor Analysis of Language Model Embeddings",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\"Devon\", \"Yanitski\", , \"dyanitsk@ualberta.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0006-1568-3387\")),\nperson(\"Chris\", \"Westbury\", role = \"aut\")\n)",
  "Description": "Performs exploratory factor analysis on language model\nembeddings of psychological scale items. Embeds item text with\nsentence transformers or other language models, transforms the\nembeddings into item-by-item similarity matrices, and extracts\nlatent factor structure via standard exploratory factor\nanalysis. Supports embedding-adapted parallel analysis, several\nsimilarity transforms (atomic reversed, SQuID centering,\nmean-centered Pearson), and fit diagnostics tailored to\nembedding matrices (TEFI, RMSR, CAF, McDonald's omega). The\nunderlying methods are documented with full citations in the\ncorresponding function help pages. Returns objects compatible\nwith 'psych' and 'EFAtools' workflows.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/devon7y/semanticfa",
  "BugReports": "https://github.com/devon7y/semanticfa/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://devon7y.r-universe.dev",
  "Date/Publication": "2026-10-27 17:59:18 UTC",
  "RemoteUrl": "https://github.com/devon7y/semanticfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-27 20:20:05 UTC",
    "User": "root"
  },
  "Author": "Devon Yanitski [aut, cre] (ORCID:\n<https://orcid.org/0009-0006-1568-3387>),\nChris Westbury [aut]",
  "Maintainer": "Devon Yanitski <dyanitsk@ualberta.ca>",
  "_user": "devon7y",
  "_type": "src",
  "_file": "semanticfa_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a44f4bb27c84f53b62a09ad21646f28e0c171372b6c94a77498ccae8da5d6479",
  "_filesize": 681812,
  "_sha256": "a44f4bb27c84f53b62a09ad21646f28e0c171372b6c94a77498ccae8da5d6479",
  "_expires": "2027-02-04T20:24:30.000Z",
  "_created": "2026-10-27T20:20:05.000Z",
  "_published": "2026-10-27T20:24:32.586Z",
  "_upstream": "https://github.com/devon7y/semanticfa",
  "_status": "success",
  "_maintainer": {
    "name": "Devon Yanitski",
    "email": "dyanitsk@ualberta.ca",
    "login": "devon7y",
    "description": "I code sometimes",
    "uuid": 34050701,
    "orcid": "0009-0006-1568-3387"
  },
  "_jobs": [
    {
      "job": 122446550156,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12768301410"
    },
    {
      "job": 122446550189,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12767663394"
    },
    {
      "job": 122446550054,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12766619337"
    },
    {
      "job": 122446549862,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12768351152"
    },
    {
      "job": 122441912936,
      "time": 525,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12765794872"
    },
    {
      "job": 122446549939,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12768181382"
    },
    {
      "job": 122446550308,
      "time": 143,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12768535679"
    },
    {
      "job": 122446550052,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12766069623"
    },
    {
      "job": 122446550159,
      "time": 150,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12767268658"
    }
  ],
  "_buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721",
  "_commit": {
    "id": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
    "author": "devon7y <devon7y@gmail.com>",
    "committer": "devon7y <devon7y@gmail.com>",
    "message": "Reproduction archive v2: confirmatory rerun of the submitted script\n\nThe transcript and results now come from a full run of the current\nreproduce.R; the loading-table writer sets the caption and note outside\nthe longtable. Every reported number, table and figure is unchanged.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1793123958
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "GPArotation",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "version": ">= 1.41.0",
      "role": "Imports"
    },
    {
      "package": "Rtsne",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "uwot",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "EFAtools",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "EGAnet",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "devon7y",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 16
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 14
    },
    {
      "week": "2026-44",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "pools-v1",
      "date": "2026-06-08"
    },
    {
      "name": "semk-v1",
      "date": "2026-07-05"
    },
    {
      "name": "reproduce-brm-v1",
      "date": "2026-10-27"
    },
    {
      "name": "reproduce-brm-v2",
      "date": "2026-10-27"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "devon7y",
      "count": 37,
      "uuid": 34050701
    }
  ],
  "_userbio": {
    "uuid": 34050701,
    "type": "user",
    "name": "Devon Yanitski",
    "followers": 5,
    "description": "I code sometimes"
  },
  "_downloads": {
    "count": 323,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/semanticfa"
  },
  "_devurl": "https://github.com/devon7y/semanticfa",
  "_searchresults": 8,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/semanticfa.html"
  ],
  "_homeurl": "https://github.com/devon7y/semanticfa",
  "_realowner": "devon7y",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-15"
    },
    {
      "version": "0.1.1",
      "date": "2026-07-03"
    },
    {
      "version": "0.5.0",
      "date": "2026-09-08"
    },
    {
      "version": "0.5.1",
      "date": "2026-10-05"
    }
  ],
  "_exports": [
    "as_psych",
    "sfa",
    "sfa_anchor",
    "sfa_cd",
    "sfa_clear_cache",
    "sfa_congruence",
    "sfa_corplot",
    "sfa_dimselect",
    "sfa_ekc",
    "sfa_embed",
    "sfa_install_python",
    "sfa_item_fit",
    "sfa_itemplot",
    "sfa_jinglejangle",
    "sfa_load_npz",
    "sfa_map",
    "sfa_name",
    "sfa_naming_instruction",
    "sfa_nfactors",
    "sfa_nli_matrix",
    "sfa_parallel",
    "sfa_pool",
    "sfa_project",
    "sfa_redundancy",
    "sfa_similarity",
    "sfa_simplify",
    "sfa_tsneplot"
  ],
  "_datasets": [
    {
      "name": "big5",
      "title": "IPIP Big Five 50-Item Inventory with Qwen3 Embeddings",
      "object": "big5",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "semanticfa-package",
      "title": "semanticfa: Semantic Factor Analysis of Language Model Embeddings",
      "topics": [
        "semanticfa-package",
        "semanticfa"
      ]
    },
    {
      "page": "as_psych",
      "title": "Coerce to psych fa Object",
      "topics": [
        "as_psych",
        "as_psych.sfa"
      ]
    },
    {
      "page": "big5",
      "title": "IPIP Big Five 50-Item Inventory with Qwen3 Embeddings",
      "topics": [
        "big5"
      ]
    },
    {
      "page": "sfa",
      "title": "Semantic Factor Analysis",
      "topics": [
        "sfa"
      ]
    },
    {
      "page": "sfa_anchor",
      "title": "Construct-Label and Centroid Anchoring",
      "topics": [
        "sfa_anchor"
      ]
    },
    {
      "page": "sfa_cd",
      "title": "Comparison-Data Misfit Profile",
      "topics": [
        "sfa_cd"
      ]
    },
    {
      "page": "sfa_clear_cache",
      "title": "Clear Embedding Cache",
      "topics": [
        "sfa_clear_cache"
      ]
    },
    {
      "page": "sfa_congruence",
      "title": "Compare Semantic and Empirical Factor Structures",
      "topics": [
        "sfa_congruence"
      ]
    },
    {
      "page": "sfa_corplot",
      "title": "Heatmap of an Item-by-Item Similarity Matrix",
      "topics": [
        "sfa_corplot"
      ]
    },
    {
      "page": "sfa_dimselect",
      "title": "Embedding-Dimension Selection by EGA Depth Optimization",
      "topics": [
        "sfa_dimselect"
      ]
    },
    {
      "page": "sfa_ekc",
      "title": "Empirical Kaiser Criterion for Embedding Similarity Matrices",
      "topics": [
        "sfa_ekc"
      ]
    },
    {
      "page": "sfa_embed",
      "title": "Embed Item Text with a Language Model",
      "topics": [
        "sfa_embed"
      ]
    },
    {
      "page": "sfa_install_python",
      "title": "Provision the Python Environment for Embedding",
      "topics": [
        "sfa_install_python"
      ]
    },
    {
      "page": "sfa_item_fit",
      "title": "Vet a Candidate Scale Item Before Data Collection",
      "topics": [
        "sfa_item_fit"
      ]
    },
    {
      "page": "sfa_itemplot",
      "title": "2-D Item Map (t-SNE, UMAP, PCA, or MDS)",
      "topics": [
        "sfa_itemplot",
        "sfa_tsneplot"
      ]
    },
    {
      "page": "sfa_jinglejangle",
      "title": "Detect Jingle and Jangle Fallacies Across Scales",
      "topics": [
        "sfa_jinglejangle"
      ]
    },
    {
      "page": "sfa_load_npz",
      "title": "Load Pre-generated Embeddings from a NumPy .npz File",
      "topics": [
        "sfa_load_npz"
      ]
    },
    {
      "page": "sfa_map",
      "title": "Velicer's Minimum Average Partial for Similarity Matrices",
      "topics": [
        "sfa_map"
      ]
    },
    {
      "page": "sfa_name",
      "title": "Name the Factors of an sfa Fit",
      "topics": [
        "sfa_name"
      ]
    },
    {
      "page": "sfa_naming_instruction",
      "title": "The Default Naming Instruction",
      "topics": [
        "sfa_naming_instruction"
      ]
    },
    {
      "page": "sfa_nfactors",
      "title": "Unified Factor Retention Diagnostics",
      "topics": [
        "sfa_nfactors"
      ]
    },
    {
      "page": "sfa_nli_matrix",
      "title": "Signed Item Similarity from Natural Language Inference",
      "topics": [
        "sfa_nli_matrix"
      ]
    },
    {
      "page": "sfa_parallel",
      "title": "Embedding-Adapted Parallel Analysis",
      "topics": [
        "sfa_parallel"
      ]
    },
    {
      "page": "sfa_pool",
      "title": "Fetch or Build the Candidate Pool for a Naming Model",
      "topics": [
        "sfa_pool"
      ]
    },
    {
      "page": "sfa_project",
      "title": "Semantic Projection onto Bipolar Axes",
      "topics": [
        "sfa_project"
      ]
    },
    {
      "page": "sfa_redundancy",
      "title": "Detect Redundant (Near-Duplicate) Items",
      "topics": [
        "sfa_redundancy"
      ]
    },
    {
      "page": "sfa_similarity",
      "title": "Compute Embedding Similarity Matrix",
      "topics": [
        "sfa_similarity"
      ]
    },
    {
      "page": "sfa_simplify",
      "title": "Response-Free Scale Simplification",
      "topics": [
        "sfa_simplify"
      ]
    }
  ],
  "_readme": "https://github.com/devon7y/semanticfa/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "digest",
    "dqrng",
    "FNN",
    "GPArotation",
    "here",
    "irlba",
    "jsonlite",
    "lattice",
    "Matrix",
    "mnormt",
    "nlme",
    "png",
    "psych",
    "rappdirs",
    "Rcpp",
    "RcppAnnoy",
    "RcppEigen",
    "RcppProgress",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "RSpectra",
    "Rtsne",
    "sitmo",
    "uwot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Getting Started with semanticfa",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Quick start with bundled data",
        "Factor retention",
        "Encoding methods",
        "Visualization",
        "Comparing with empirical factor analysis",
        "Using your own embeddings"
      ],
      "created": "2026-06-03 19:36:51",
      "modified": "2026-07-04 01:16:33",
      "commits": 5
    },
    {
      "source": "naming-factors.Rmd",
      "filename": "naming-factors.html",
      "title": "Naming the factors",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Basic use",
        "What you get",
        "Using a larger model for naming",
        "Reproducibility notes"
      ],
      "created": "2026-07-04 22:21:40",
      "modified": "2026-07-04 23:08:58",
      "commits": 2
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "semanticfa",
  "_universes": [
    "devon7y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T20:22:41.000Z",
      "distro": "resolute",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/62f3657ad7ef1f2d37309aa93710cb9daa1f042699a779218542aa6a667a12cc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-27T20:22:51.000Z",
      "distro": "resolute",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/7987d2e4e034a0d787c4d1bb55a6a3d2751bd53cd739ea7258022ee2e6331ffb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-27T20:23:21.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/72fc42c44f8e774071822128c15ad774332fe7509dcfdf8d0dbbcf684eb5102a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-27T20:22:21.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/9da373b50e708d471f3e7b5c9661bd0a30453eabc5c473bb2f325adf9909097d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-27T20:22:44.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/a2de632fc702ba1914cd9442265feac75b3b5122af19b052caa68d7a773e356a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T20:21:36.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/671c1b113aeebba4c229de705816bec18e00e15eff8e00b73a20c59b102cc80e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T20:21:49.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/d55885be4639472e1dec4a352a7683c92f5d3fa5307743804572b867bce33486",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-27T20:22:02.000Z",
      "commit": "13ce18a50dd489245f52a392836c03d74ecf6d2b",
      "fileid": "https://r2.ropensci.org/b3fed8d6b0b36ffb93ae91adc82f6502654d71b38401575646598c1b159045b6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devon7y/actions/runs/40575789721"
    }
  ]
}