pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
Translation pending
Runnable SAS and R templates, dashboards and checks for a biostatistics consultant's work on an early-phase trial, from the protocol's statistical sections to CSR text.
DataHTML · RGitHub @patrickibenOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Trial biostatistics toolkit: SAS/R TLF pseudocode, a worked bioequivalence study, synthetic ADaM generation, monitoring dashboards, and runnable validation checks.
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗Open-source tools, templates and worked examples for biostatistics consultants and employees across study planning, programming, operations and reporting. The worked examples focus on early-phase clinical pharmacology; each tool can be adapted where its methods and input contract fit the study.
Choose your task and get started · Home · Full library
Point-and-click setup for the whole toolkit · Control panel and module catalog · Download the complete ZIP
For local workflows, download and extract the ZIP, then double-click Start Toolkit.command (macOS) or Start Toolkit.cmd (Windows). The local browser control panel covers all five Shiny apps, the reproducible R examples, QC checks, browser workspaces, paired SAS/R libraries and configuration templates. Create a private project from examples for each study or engagement, check dependencies, install supported R packages, open apps, upload documented inputs and export the project through the GUI. Python 3.10+ starts the control panel; each card identifies any additional runtime installer. The Linux launcher is Start Toolkit.sh.
The toolkit_launcher/ catalog distinguishes runnable examples from templates and references. The four published Shinylive apps and browser-only workspaces run without local installation. The vaccine app accepts mapped study CSVs and computes results entirely in the browser. The external eCRF apps remain a separate repository. The shared tracker setup handles its accounts, hosting and optional email.
Run vaccine analyses in your browser: no R installation, account or toolkit download. Start with a blank workspace or deliberately load the synthetic example, map CSVs, confirm study definitions, validate and run all six same-core R outputs. Download the complete results ZIP, individual tables/figures, setup profile and configured SAS reference. Settings or input changes invalidate earlier results; reset or reload clears the browser session. Includes an illustrated learning companion. Browser limits and workflow are documented separately from the optional desktop route; native SAS remains unexecuted.
Guided template setup: choose study design and outputs, upload and map CSV inputs, preview requirements, then generate a versioned study package. Forms cover the SAS/R TLF libraries, monitoring checks, LOCALMIND findings and AE/PK draft reports. Save or import setup profiles to reuse choices across projects. The 221 R TLF programs, eight monitoring checks and aggregate interpretation verification can then run through buttons. Each attempt retains its own complete results and QC report. R is the runnable default; SAS reference exports remain available.
This is a general-purpose toolkit, not a deployment for a specific client. A new private project contains fictional starter data, not an empty or already configured production study. Source files, generated results and logs are retained in that project. Export app/session data before closing; a project ZIP does not capture unsaved Shiny state or browser storage. The shared tracker’s database and settings live outside that workspace ZIP; use its separate backup controls. Native SAS reference code has not been executed. Study-specific scientific review and model-service configuration remain separate. See the setup guide for inputs, persistence, runtime installation and all 23 module paths, and QC_REPORT.md for the October 2026 QC scope.
Rscript launch_app.R --list
Rscript launch_app.R --check
Rscript launch_app.R trialmon --install
# Also: lifecycle, uat, risk, hours.
The R launcher finds the complete checkout from another working directory. Package downloads happen only with --install and target a user library.
Site: https://patrickiben.github.io/biometrics-ai-portfolio/
Author: Patrick Iben
Statistical programming (SAS + R)
dplyr + rtables + ggplot2 + emmeans), across every early-phase design
(parallel, crossover, single/fixed-sequence, SAD, MAD). Geometric PK on the log scale, distinct-participant
counts, period denominators. The SAS programs have not been executed (no SAS license); the R programs
parse but have not been run on data.
→ sas_tlf_pseudocode/ · r_tlf_pseudocode/study/run_all.R) regenerates every output and CI reruns it. QC is a
same-author re-derivation, not independent double programming. → study/sim_lifecycle/sim_lifecycle/carryover_oc/), and a prespecified C-QTc hysteresis
check with its size and power (cqtc_hysteresis/).Operational tooling (no AI required)
sas_r_automation/ · sasr_monitoring_wiki/sasr_onleave_wiki/ · playbook · CSV templateopen_tracker/ · file workflow · Interactive apps and dashboards
sasr_monitoring_wiki/TRIALMON_Dashboard.html · risk_monitor/ · lifecycle_dashboard/apps/ (TRIALMON) · UAT tracker · lifecycle monitor.Validation & QC
validation_harness/USUBJID/SUBJID) preserved exactly.The original pages (home, Operations, Biostatistics, the full library and the module pages) keep their
layouts and use a shared light/dark adapter with site.css, site.js, _mc-topbar.html and _quarto-mc.scss. The newer pages (the worked study, the
method studies, the harness page and the app launch pages) are built by build_pages.py from
assets/theme/tokens.css into assets/ (toolkit.css, ui.js) and _partials/;
python3 build_pages.py --check confirms they are current.
GitHub Pages builds the site with GitHub Actions (.github/workflows/pages.yml): it copies the static files,
exports the four R apps with Shinylive, and opens every app in headless Chrome before deploying; nothing is
published unless every app passes.
Run python3 package_qc.py from a complete checkout to check navigation, local links, retired content,
terminology and documented counts. GitHub Actions runs it, python3 build_pages.py --check and the worked
study (study/run_all.R) on pushes and pull requests. These check the package, not the statistics.
Reusable launcher checks live in tools/tests/. Theme sources are assets/theme/tokens.css and assets/legacy-theme.css/js; run python3 build_pages.py after changing them or re-rendering a legacy page. The build inlines the theme into portable pages, and --check detects drift.
MIT; see LICENSE.
uat_irt/budget_reconciliation/slm_wiki/