Package: AI4OfficialStats
Type: Package
Title: Audit Statistical Fidelity of AI-Mediated Official Statistics
Version: 0.1.0
Authors@R: c(
    person("Hossein", "Hassani", role = "aut"),
    person("Steve", "MacFeely", role = "aut"),
    person("Leila", "Marvian Mashhad",
           email = "leila.marveian@gmail.com",
           role = c("aut", "cre"))
    )
Description: Provides deterministic tools for auditing whether artificial
    intelligence systems preserve the numerical, semantic, contextual,
    temporal, geographic, unit, provenance, revision, transformation, and
    uncertainty properties of official statistics. Structured reference
    statistics and machine-generated claims can be compared using
    non-compensatory critical-error rules, weakest-link and geometric fidelity
    summaries, provenance graphs, and portable SHA-256 proof bundles. The
    package provides bounded connectors for official statistical services and
    an extensible HTTPS JSON API registry. Prompt perturbation, statistical
    red-team generation, minimal-pair tests, and benchmark data support
    reproducible evaluation of generative, retrieval-augmented, and agentic
    statistical systems. An embedded alignment layer maps claim-level controls
    to relevant activities of the Generic Statistical Business Process Model
    (GSBPM) 5.2, including Analyse, Disseminate, Evaluate, Quality Management,
    and Metadata Management. The GSBPM alignment follows United Nations
    Economic Commission for Europe (2025) "Generic Statistical Business
    Process Model (GSBPM) version 5.2"
    <https://unece.org/statistics/gsbpm-v5.2>.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 4.1.0)
Imports: digest, jsonlite, stats, utils
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2026-08-25 11:47:24 UTC; marvian
Author: Hossein Hassani [aut],
  Steve MacFeely [aut],
  Leila Marvian Mashhad [aut, cre]
Maintainer: Leila Marvian Mashhad <leila.marveian@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-22 06:20:17 UTC
