Skip to main content

A pre-clinical Edge-AI SDK for diabetes management validation.

Project description

IINTS-AF SDK

PyPI version Python Package CI Site

IINTS-AF is a safety-first SDK for insulin-algorithm research. It lets you simulate, validate, and report results with reproducible artifacts.

Docs (GitHub Pages): python35.github.io/IINTS-SDK

What You Can Do

  • Run virtual patient simulations.
  • Test algorithm safety gates (deterministic supervisor).
  • Add optional AI glucose forecasting.
  • Validate datasets before training/evaluation.
  • Generate audit-ready CSV/JSON/PDF/HTML outputs.

Quick Start

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
pip install iints-sdk-python35
iints doctor --smoke-run
iints quickstart --project-name iints_quickstart
cd iints_quickstart
iints presets run --name baseline_t1d --algo algorithms/example_algorithm.py

MDMP (Short)

MDMP is the data-quality protocol used by IINTS.

  • Contract: defines expected columns, types, units, and bounds.
  • Validation: checks a dataset against the contract.
  • Fingerprint + Grade: writes deterministic hashes and a grade (draft, research_grade, clinical_grade).
  • Visualizer: builds a single-file HTML report for audits.

Use the dedicated namespace:

iints mdmp template --output-path mdmp_contract.yaml
iints mdmp validate mdmp_contract.yaml data/my_cgm.csv --output-json results/mdmp_report.json
iints mdmp visualizer results/mdmp_report.json --output-html results/mdmp_dashboard.html

Use standalone MDMP backend (optional):

export IINTS_MDMP_BACKEND=mdmp_core

Staleness / lineage checks (standalone MDMP CLI):

mdmp fingerprint-record data/my_cgm.csv --output-json results/fingerprint.json --expires-days 365
mdmp fingerprint-check results/fingerprint.json data/my_cgm.csv
mdmp lineage-card-refresh results/mdmp_model_card.yaml
mdmp registry init --registry registry/mdmp_registry.json
mdmp registry push --registry registry/mdmp_registry.json --report results/mdmp_report.json

Dual Repo Workflow

  • SDK repo: python35/IINTS-SDK
  • MDMP repo: python35/MDMP

Local helper scripts:

  • tools/local/dual_repo_status.sh
  • tools/local/dual_repo_commit_push.sh

Full process: docs/DUAL_REPO_WORKFLOW.md

MDMP sync CI gate:

  • .github/workflows/mdmp-sync.yml
  • Pulls the public python35/MDMP repo directly.
  • Auto dependency updates for MDMP are handled via Dependabot (.github/dependabot.yml).

Typical Workflow

  1. Prepare or import data.
  2. Validate data with MDMP.
  3. Run simulation or forecast evaluation.
  4. Review report artifacts and metrics.

Key Commands

iints run-full --algo algorithms/example_algorithm.py --scenario-path scenarios/clinic_safe_baseline.json --output-dir results/run_full
iints scorecard --algo algorithms/example_algorithm.py --profile research_default --output-dir results/scorecard
iints study-ready --algo algorithms/example_algorithm.py --output-dir results/study_ready
iints sources --output-json results/source_manifest.json

Documentation

Safety Notice

For research use only. Not a medical device. No clinical dosing advice.

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

iints_sdk_python35-1.0.0.tar.gz (923.0 kB view details)

Uploaded Source

Built Distribution

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

iints_sdk_python35-1.0.0-py3-none-any.whl (967.1 kB view details)

Uploaded Python 3

File details

Details for the file iints_sdk_python35-1.0.0.tar.gz.

File metadata

  • Download URL: iints_sdk_python35-1.0.0.tar.gz
  • Upload date:
  • Size: 923.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for iints_sdk_python35-1.0.0.tar.gz
Algorithm Hash digest
SHA256 96d34383f4ef9a6d1168276e672d22ddd98359164e5a98172aa8d5756368e1d5
MD5 29b6fc3600cc74811affdd8d3df889c1
BLAKE2b-256 96b32ab3424bb21b944a59c1ffce5ab8222c3f9618e30eb79b0ee381cc64af17

See more details on using hashes here.

Provenance

The following attestation bundles were made for iints_sdk_python35-1.0.0.tar.gz:

Publisher: publish-pypi.yml on python35/IINTS-SDK

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

File details

Details for the file iints_sdk_python35-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iints_sdk_python35-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c20dd0cd3a9a69cbd30707cbf348001f5f6378afd5d67712754246685973f8de
MD5 c2e9d426c7f6ce2219888f71c54f86bd
BLAKE2b-256 751d73b36373793b54f136ae742050fe605d747676e623b3dc5a6f27f84ba6f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for iints_sdk_python35-1.0.0-py3-none-any.whl:

Publisher: publish-pypi.yml on python35/IINTS-SDK

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