Open-Science Statistical Computing. Verified to 10⁻⁶ Precision.
An experimental, 100% Safe Rust alternative for statistical data analysis. Clean-room mathematical engine built on Apache Arrow and Polars with native Model Context Protocol (MCP) integration for AI-guided empirical research.
02MATHEMATICAL AUDIT
The 20-Block SciPy Golden Oracle Matrix
Every statistical procedure in StatCraft is verified against reference Python/SciPy implementations and classical academic benchmarks. Clean-room implementations without proprietary IBM code.
Recursive moments weighting via Spicer (1972)
Unbiased sample skewness and Fisher excess kurtosis with SE
2x2 table continuity correction & exact hypergeometric test
03AGENT-FIRST PROTOCOL
Model Context Protocol (MCP) & Local IPC Socket 18492
StatCraft is built from the ground up for the agentic era. Any AI assistant—Antigravity, Claude, or local LLMs—can autonomously inspect variables, execute commands, and write peer-reviewed interpretations directly into the Output Viewer.
Zero-Hallucination Metadata
Agents query the exact VariableDictionary directly from RAM. No guessing variable names, types, or missing value codes.
CommandBus Execution
All procedures execute through typed commands with full Undo/Redo tracking and SPSS syntax generation.
Direct Output Injection
AI writes structured APA-style tables and academic interpretations directly into the desktop Output Viewer.
{
"name": "statcraft_execute_syntax",
"arguments": {
"syntax": "T-TEST GROUPS=treatment(1, 2) /VARIABLES=cholesterol /CRITERIA=CI(0.95)."
}
}04ARCHITECTURAL INTEGRITY
Built on 100% Safe Rust & Apache Arrow
Statistical software must never crash mid-calculation or produce silent NaN errors. StatCraft enforces strict memory safety, strict layered dependencies, and a zero-panic contract.
Zero-Panic Contract
All non-test code strictly forbids unwrap(), expect(), panic!(), and unsafe. Every potential error (singular matrix, division by zero, insufficient sample size) is propagated as typed Result<T, StatError>.
Clean-Room Implementation
Developed without a single line of proprietary IBM SPSS code or assets. Algorithms are derived strictly from published academic papers, ISO standards, and GNU PSPP open-source specifications.
Arrow Columnar Memory
Datasets live in contiguous Apache Arrow arrays. Numerical transformations and filtering execute via SIMD-accelerated Polars engines with zero GC pauses.
Vector-First Design System
Native desktop GUI built in egui/eframe. Custom DialogKit with strict Design Guard checks, sub-millisecond render cycles, and 0 Unicode tofu glyphs.
Layered Hierarchy (L0 → L6)
Enforced at compile-time by cargo xtask layers. No cyclic dependencies, no UI logic leaking into math.
05INVITATION TO COLLABORATE
An Open Invitation to Researchers & Developers
We do not claim StatCraft is a ready-made commercial replacement. It is an open-science computational experiment. We need your domain expertise, your datasets, and your scrutiny to make scientific computing transparent and reproducible.
For Statisticians & Researchers
Challenge our numbers. Run your empirical datasets through StatCraft and compare results against SPSS, R, or Stata.
- Test edge cases: ill-conditioned matrices, collinear predictors, tiny frequencies, and weighted survey strata.
- Privacy First: never upload raw patient or proprietary data. Submit anonymized mock cases or summary correlation matrices.
- Found a delta > 10⁻⁶? File an issue directly from the site without needing a GitHub account.
For Rust & Systems Engineers
Help us architect high-performance, safe computational foundations using modern systems programming.
- Optimize linear algebra routines using faer and statrs without dropping to unsafe.
- Contribute new statistical procedures with SciPy oracle regression tests.
- Expand the Model Context Protocol (MCP) toolset for autonomous AI research pipelines.
«Open science cannot exist on proprietary black-box software. Reproducibility demands open code, open algorithms, and relentless peer verification.»