Skip to main content

Methods for Observational Inference and Robust Analysis of Interventions in Scientific Experimentation. Multi-domain scientific computing toolkit hosting the DLRM framework for Canadian carceral, police, and oversight data, with general-purpose causal inference, signal processing, cryptography, spatial statistics, statistical physics, and psychometrics modules.

Project description

MOIRAIS

Methods for Observational Inference and Robust Analysis of Interventions in Scientific Experimentation

A multi-domain scientific computing toolkit (Python and R) for observational inference, with sociolegal, signal-processing, cryptographic, spatial-statistics, statistical-physics, and psychometrics modules. Hosts the DLRM framework as a primary application for Canadian carceral, police, and oversight data analysis.

License: GPL v2 PyPI version Python 3.10+ DOI

Installation

Python (PyPI)

pip install moirais

R (CRAN)

install.packages("moirais")

R (r-universe; nightly binary builds)

install.packages(
  "moirais",
  repos = c(
    hadesllm = "https://hadesllm.r-universe.dev",
    CRAN     = "https://cloud.r-project.org"
  )
)

Quick start

import moirais

# Load a built-in dataset
df = moirais.load_dataset("otis-2025")

# Run a Ruhela formulation (DLRM primary)
from moirais.otis_all_analyze import analyze_a01_ruhela_formulations
result = analyze_a01_ruhela_formulations(df)
print(result)

Documentation

Full documentation is at hadesllm.github.io/moirais (auto-built from docs/source/).

Citation

If you use MOIRAIS in your research, please cite the package paper, the DLRM framework paper, and (where applicable to your work) the Hawkes-process methodology paper:

Ruhela, V. S. (2026). MOIRAIS: A Multi-Domain Scientific Computing
Toolkit for Observational Inference, with Sociolegal, Signal-Processing,
Cryptographic, and Spatial-Statistics Modules. Zenodo.
https://doi.org/10.5281/zenodo.20096350

Ruhela, V. S. (2026). The DLRM Framework: A Multi-Source Mathematical
Foundation for Canadian Carceral, Police, and Oversight Data, Implemented
as RF Modules in MOIRAIS. Zenodo.
https://doi.org/10.5281/zenodo.20096075

Ruhela, V. S. (2026). Criminological Hawkes Process via MOIRAIS:
Markovian and Non-Markovian Self-Exciting Point Processes for Toronto
Crime. Zenodo.
https://doi.org/10.5281/zenodo.20102198

See CITATION.cff for machine-readable citation metadata.

License

MOIRAIS is released under the GNU General Public License v2 (GPL-2.0-only); see LICENSE. The licensing matrix for individual components is documented in LICENSING.md.

Reporting issues / security

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moirais-0.1.0.post1.tar.gz (7.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moirais-0.1.0.post1-py3-none-any.whl (37.9 MB view details)

Uploaded Python 3

File details

Details for the file moirais-0.1.0.post1.tar.gz.

File metadata

  • Download URL: moirais-0.1.0.post1.tar.gz
  • Upload date:
  • Size: 7.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for moirais-0.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 819d89caa88d0198bbc4e05f546508f6d25a2f494bde0a82e3f798abaccb0aec
MD5 fe1e96f784c0a155916f018bd559a3ae
BLAKE2b-256 38dd68ee1f0f172bcadb4264bb3f1901648f8abc80f1697faa0c9d113e0b06be

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirais-0.1.0.post1.tar.gz:

Publisher: pypi-publish.yml on hadesllm/moirais

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moirais-0.1.0.post1-py3-none-any.whl.

File metadata

  • Download URL: moirais-0.1.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 37.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for moirais-0.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 d76d629d4506c99a8c377790ed908e8833a5d0310a2a1ef59aab9e0ae6383070
MD5 5839d0db01f90fcf84fc34924d9122a5
BLAKE2b-256 10366ba172eae6f83be34b204db90305ede1e89ccc2f8c83ad72f91566c64ddc

See more details on using hashes here.

Provenance

The following attestation bundles were made for moirais-0.1.0.post1-py3-none-any.whl:

Publisher: pypi-publish.yml on hadesllm/moirais

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page