CausalMixGPD
  • Home
  • Roadmaps
    • Website roadmap
    • Package roadmap
  • Start
    • Start Hub
    • Roadmap
    • Usage Diagrams
    • Start Here
    • Basic Compile and Run
    • Backends and Workflow
    • Troubleshooting
  • Tracks
    • Quickstart
    • Modeling (1-arm)
    • Causal
    • Clustering
    • Kernels & tails
    • Customization
  • Examples
  • Kernels
  • Advanced
  • Developers
  • Reference
    • Reference hub
    • Function reference by job
  • News
  • Cite
  • Coverage
  • API Reference

On this page

  • Layers
  • Kernel tests (minimum)
  • Website tests (optional but valuable)
  • Coverage
  • Prereqs
  • Outputs
  • Interpretation
  • Next

Testing strategy

Keep tests cheap, deterministic, and layered.

Layers

  1. Unit tests: distribution functions, registry helpers, contracts.
  2. Integration tests: bundle builds for each backend; tiny MCMC smoke tests.
  3. API tests: S3 methods run without error and return expected shapes.

Kernel tests (minimum)

  • d/p/q/r coherence for a small grid
  • CDF monotonicity
  • quantile inversion: p(q(u)) $\\approx$ u on a grid
  • support constraints

Website tests (optional but valuable)

  • internal link graph has no broken links
  • workflows chain remains intact

Coverage

  • Coverage report (HTML): see Coverage
  • Coverage map (by feature area): Coverage map

Prereqs

  • Required packages and data for this page are listed in the setup chunks above.

Outputs

  • This page renders model fits, diagnostics, and summary artifacts generated by package APIs.

Interpretation

  • Canonical concept page: Spec And Contracts
  • Treat this page as an application/example view and use the canonical page for core definitions.

Next

  • Continue to the linked canonical concept page, then return for implementation-specific details.
(c) CausalMixGPD - Bayesian semiparametric modeling for heavy-tailed data
- - Cite - API - GitHub