theoryforge

Systematic theory development. Twin, feature-parity packages for a reproducible workflow of building, developing and testing scientific theories. The R and Python implementations share one specification and produce identical verdicts.

R package

Reference and guides (pkgdown). Install from CRAN with install.packages("theoryforge").

Python package

Reference and guides (mkdocs). Install from PyPI with pip install theoryforge.

Try it in your browser

Interactive apps that run the real packages entirely client-side: the R app via webR and the Python app via Pyodide, with nothing sent to a server. Load a theory, run any operation and export both the visualisation (SVG/PNG) and the code to reproduce it.

R app

Runs the package via webR. Score rigour, build diagrams, simulate and export SVG/PNG plus reproducible R code.

Python app

Runs the package via Pyodide. Score rigour, build diagrams, simulate and export SVG/PNG plus reproducible Python code.