iints-sdk-python35 1.3.1__tar.gz → 1.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- iints_sdk_python35-1.4.0/LICENSE +173 -0
- iints_sdk_python35-1.3.1/LICENSE → iints_sdk_python35-1.4.0/LICENSE-MIT-IINTS-LEGACY +0 -7
- iints_sdk_python35-1.4.0/NOTICE +17 -0
- {iints_sdk_python35-1.3.1/src/iints_sdk_python35.egg-info → iints_sdk_python35-1.4.0}/PKG-INFO +88 -24
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/README.md +83 -21
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/pyproject.toml +10 -4
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/__init__.py +1 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/backends/ollama.py +32 -2
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/mdmp_guard.py +2 -3
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/prepare.py +1 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/booth_demo.py +3 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/clinical_metrics.py +13 -7
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/validator.py +10 -4
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/cli/cli.py +34 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/patient/bergman_model.py +3 -2
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/patient/models.py +1 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/patient/patient_factory.py +8 -8
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/patient/profile.py +1 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/safety/config.py +13 -4
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/safety/input_validator.py +12 -7
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/adapter.py +7 -2
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/ingestor.py +7 -2
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/quality_checker.py +12 -4
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/registry.py +23 -1
- iints_sdk_python35-1.4.0/src/iints/demo_assets.py +50 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/highlevel.py +1 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/learning/autonomous_optimizer.py +13 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/mdmp/backend.py +2 -3
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/predictor.py +9 -1
- iints_sdk_python35-1.4.0/src/iints/templates/demos/__init__.py +1 -0
- iints_sdk_python35-1.4.0/src/iints/templates/demos/live_stage_demo.py +410 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0/src/iints_sdk_python35.egg-info}/PKG-INFO +88 -24
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints_sdk_python35.egg-info/SOURCES.txt +45 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints_sdk_python35.egg-info/entry_points.txt +1 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints_sdk_python35.egg-info/requires.txt +1 -1
- iints_sdk_python35-1.4.0/src/iints_sdk_python35.egg-info/top_level.txt +5 -0
- iints_sdk_python35-1.4.0/src/mdmp_ai/__init__.py +3 -0
- iints_sdk_python35-1.4.0/src/mdmp_ai/lineage.py +198 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/__init__.py +133 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/audit.py +166 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/bias_hooks.py +36 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/bundle.py +142 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/certification.py +38 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/cli.py +1351 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/compare.py +56 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/conformance.py +429 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/contracts.py +164 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/crypto.py +372 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/data/conformance/vectors/delegation.json +56 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/data/conformance/vectors/fingerprint.json +24 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/data/conformance/vectors/grading.json +83 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/data/conformance/vectors/signing.json +37 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/delegate.py +476 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/diffing.py +128 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/drift.py +203 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/exceptions.py +33 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/fingerprint.py +92 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/fingerprint_store.py +42 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/hf.py +60 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/keys/mdmp_pub_v1.pem +3 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/llm_provenance.py +34 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/migrate.py +182 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/policy.py +185 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/prov.py +31 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/registry.py +350 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/runner.py +292 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/schema_export.py +92 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/synthetic.py +30 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/trust.py +216 -0
- iints_sdk_python35-1.4.0/src/mdmp_core/visualizer.py +61 -0
- iints_sdk_python35-1.4.0/src/mdmp_flavors/__init__.py +146 -0
- iints_sdk_python35-1.4.0/src/mdmp_integrations/__init__.py +9 -0
- iints_sdk_python35-1.4.0/src/mdmp_integrations/dvc.py +30 -0
- iints_sdk_python35-1.4.0/src/mdmp_integrations/mlflow.py +14 -0
- iints_sdk_python35-1.4.0/src/mdmp_integrations/wandb.py +19 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_bergman.py +6 -0
- iints_sdk_python35-1.4.0/tests/test_cli_demo_export.py +29 -0
- iints_sdk_python35-1.3.1/src/iints_sdk_python35.egg-info/top_level.txt +0 -1
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/setup.cfg +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/assistant.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/backends/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/backends/base.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/backends/mistral_api.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/cli.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/model_catalog.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/ai/prompts.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/algorithm_xray.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/baseline.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/carelink_workbench.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/clinical_benchmark.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/clinical_tir_analyzer.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/diabetes_metrics.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/edge_efficiency.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/edge_performance_monitor.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/explainability.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/explainable_ai.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/hardware_benchmark.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/metrics.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/population_report.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/poster.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/reporting.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/safety_index.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/analysis/sensor_filtering.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/api/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/api/base_algorithm.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/api/registry.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/api/template_algorithm.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/assets/iints_logo.png +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/cli/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/battle_runner.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/correction_bolus.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/discovery.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/fixed_basal_bolus.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/hybrid_algorithm.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/lstm_algorithm.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/mock_algorithms.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/pid_controller.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/algorithms/standard_pump_algo.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/device.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/device_manager.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/devices/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/devices/models.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/patient/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/safety/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/safety/supervisor.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/simulation/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/simulation/scenario_parser.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/simulator.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/core/supervisor.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/column_mapper.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/contracts.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/datasets.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/demo/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/demo/demo_cgm.csv +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/guardians.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/importer.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/mdmp_visualizer.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/nightscout.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/runner.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/synthetic_mirror.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/tidepool.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/universal_parser.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_baseline.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_hyper_challenge.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_hypo_prone.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_midnight.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_pizza.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/clinic_safe_stress_meal.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/default_patient.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/data/virtual_patients/patient_559_config.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/emulation/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/emulation/legacy_base.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/emulation/medtronic_780g.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/emulation/omnipod_5.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/emulation/tandem_controliq.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/learning/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/learning/learning_system.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/mdmp/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/metrics.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/population/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/population/generator.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/population/runner.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/evidence_sources.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/forecast_calibration_profiles.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/golden_benchmark.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/presets.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/safety_contract_default.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/presets/validation_profiles.yaml +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/audit.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/calibration_gate.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/config.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/dataset.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/evaluation.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/losses.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/metrics.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/research/model_registry.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/scenarios/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/scenarios/generator.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/default_algorithm.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/scenarios/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/scenarios/chaos_insulin_stacking.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/scenarios/chaos_runaway_ai.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/scenarios/example_scenario.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/templates/scenarios/exercise_stress.json +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/utils/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/utils/plotting.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/utils/run_io.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/golden.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/replay.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/run_validation.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/safety_contract.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/validation/schemas.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/visualization/__init__.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/visualization/cockpit.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints/visualization/uncertainty_cloud.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/src/iints_sdk_python35.egg-info/dependency_links.txt +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_cli_booth_demo.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_cli_carelink_workbench.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_cli_poster.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_install_doctor.py +0 -0
- {iints_sdk_python35-1.3.1 → iints_sdk_python35-1.4.0}/tests/test_population.py +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
|
|
135
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
136
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
137
|
+
except as required for reasonable and customary use in describing the
|
|
138
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
139
|
+
|
|
140
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
141
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
142
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
143
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
144
|
+
implied, including, without limitation, any warranties or conditions
|
|
145
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
146
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
147
|
+
appropriateness of using or redistributing the Work and assume any
|
|
148
|
+
risks associated with Your exercise of permissions under this License.
|
|
149
|
+
|
|
150
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
151
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
152
|
+
unless required by applicable law (such as deliberate and grossly
|
|
153
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
154
|
+
liable to You for damages, including any direct, indirect, special,
|
|
155
|
+
incidental, or consequential damages of any character arising as a
|
|
156
|
+
result of this License or out of the use or inability to use the
|
|
157
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
158
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
159
|
+
other commercial damages or losses), even if such Contributor has
|
|
160
|
+
been advised of the possibility of such damages.
|
|
161
|
+
|
|
162
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
163
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
164
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
165
|
+
or other liability obligations and/or rights consistent with this
|
|
166
|
+
License. However, in accepting such obligations, You may act only
|
|
167
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
168
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
169
|
+
defend, and hold each Contributor harmless for any liability
|
|
170
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
171
|
+
of your accepting any such warranty or additional liability.
|
|
172
|
+
|
|
173
|
+
END OF TERMS AND CONDITIONS
|
|
@@ -19,10 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
ACADEMIC USE DISCLAIMER:
|
|
24
|
-
This software is intended for academic research purposes only. It is not
|
|
25
|
-
intended for clinical use or as a medical device. Users must comply with
|
|
26
|
-
all applicable regulations and obtain proper approvals before any clinical
|
|
27
|
-
application. The authors disclaim any responsibility for clinical use of
|
|
28
|
-
this software.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
IINTS-AF SDK
|
|
2
|
+
Copyright (c) 2026 IINTS-AF Contributors
|
|
3
|
+
|
|
4
|
+
This distribution now bundles MDMP components directly inside the SDK source tree,
|
|
5
|
+
including `mdmp_core`, `mdmp_ai`, `mdmp_flavors`, and `mdmp_integrations`.
|
|
6
|
+
|
|
7
|
+
Bundled MDMP code originates from the MDMP project and is included here under
|
|
8
|
+
the Apache License, Version 2.0.
|
|
9
|
+
|
|
10
|
+
The original IINTS-AF SDK was previously distributed under the MIT License.
|
|
11
|
+
The preserved MIT notice for legacy IINTS-origin portions is included in:
|
|
12
|
+
|
|
13
|
+
`LICENSE-MIT-IINTS-LEGACY`
|
|
14
|
+
|
|
15
|
+
Research-use notice:
|
|
16
|
+
This software is intended for academic and pre-clinical research purposes only.
|
|
17
|
+
It is not a medical device and does not provide clinical dosing advice.
|
{iints_sdk_python35-1.3.1/src/iints_sdk_python35.egg-info → iints_sdk_python35-1.4.0}/PKG-INFO
RENAMED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iints-sdk-python35
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary: A pre-clinical Edge-AI SDK for diabetes management validation.
|
|
5
5
|
Author-email: Rune Bobbaers <rune.bobbaers@gmail.com>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
6
7
|
Project-URL: Homepage, https://github.com/python35/IINTS-SDK
|
|
7
8
|
Classifier: Programming Language :: Python :: 3
|
|
8
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
9
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Development Status :: 5 - Production/Stable
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
+
License-File: NOTICE
|
|
19
|
+
License-File: LICENSE-MIT-IINTS-LEGACY
|
|
18
20
|
Requires-Dist: fpdf2>=2.8.0
|
|
19
21
|
Requires-Dist: matplotlib>=3.5.0
|
|
20
22
|
Requires-Dist: numpy>=1.24.0
|
|
@@ -46,7 +48,7 @@ Requires-Dist: h5py>=3.10.0; extra == "research"
|
|
|
46
48
|
Requires-Dist: onnx>=1.16.0; extra == "research"
|
|
47
49
|
Requires-Dist: onnxscript>=0.1.0; extra == "research"
|
|
48
50
|
Provides-Extra: mdmp
|
|
49
|
-
Requires-Dist:
|
|
51
|
+
Requires-Dist: cryptography>=42.0.0; extra == "mdmp"
|
|
50
52
|
Dynamic: license-file
|
|
51
53
|
|
|
52
54
|
# IINTS-AF SDK
|
|
@@ -71,7 +73,7 @@ Docs (GitHub Pages): [python35.github.io/IINTS-SDK](https://python35.github.io/I
|
|
|
71
73
|
python3 -m venv .venv
|
|
72
74
|
source .venv/bin/activate
|
|
73
75
|
python -m pip install -U pip
|
|
74
|
-
pip install iints-sdk-python35
|
|
76
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
75
77
|
```
|
|
76
78
|
|
|
77
79
|
```bash
|
|
@@ -81,6 +83,16 @@ cd iints_quickstart
|
|
|
81
83
|
iints presets run --name baseline_t1d --algo algorithms/example_algorithm.py
|
|
82
84
|
```
|
|
83
85
|
|
|
86
|
+
If you want the clearest install/path rules first, read:
|
|
87
|
+
- `docs/INSTALLATION.md`
|
|
88
|
+
- `docs/AI_ASSISTANT.md` for the small Ollama setup and SDK linking flow
|
|
89
|
+
- `docs/EVIDENCE_BASE.md` for the full medical + technical source legend
|
|
90
|
+
|
|
91
|
+
Short rule:
|
|
92
|
+
- installed `iints ...` commands can run from any folder
|
|
93
|
+
- `python -m pip install -e ".[mdmp]"` only works from the SDK repo root
|
|
94
|
+
- after `iints quickstart`, switch into the generated project folder
|
|
95
|
+
|
|
84
96
|
## CareLink Import
|
|
85
97
|
|
|
86
98
|
The SDK can now ingest Medtronic CareLink / MiniMed CSV exports and convert them into the standard IINTS schema:
|
|
@@ -127,23 +139,37 @@ That workbench is designed for three things:
|
|
|
127
139
|
The SDK now includes a research-only AI assistant layer for explanations and run summaries.
|
|
128
140
|
It is gated by MDMP verification before any LLM call is allowed.
|
|
129
141
|
|
|
130
|
-
Use an active virtual environment for the full flow
|
|
142
|
+
Use an active virtual environment for the full flow.
|
|
143
|
+
|
|
144
|
+
If you installed the released SDK from PyPI, run:
|
|
131
145
|
|
|
132
146
|
```bash
|
|
133
147
|
python3 -m venv .venv
|
|
134
148
|
source .venv/bin/activate
|
|
135
149
|
python -m pip install -U pip
|
|
136
|
-
python -m pip install -
|
|
150
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
If you are developing from source instead, first move into the SDK repo root and then run:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
cd /path/to/IINTS-SDK
|
|
157
|
+
python -m pip install -U -e ".[mdmp]"
|
|
137
158
|
```
|
|
138
159
|
|
|
139
160
|
Run the open local Mistral model locally with Ollama:
|
|
140
161
|
|
|
141
162
|
```bash
|
|
142
|
-
python -m pip install -e ".[mdmp]"
|
|
143
163
|
ollama pull ministral-3:8b
|
|
144
164
|
iints ai models
|
|
145
165
|
```
|
|
146
166
|
|
|
167
|
+
If you want the short "install Ollama + link it to the SDK" guide, read:
|
|
168
|
+
- `docs/AI_ASSISTANT.md`
|
|
169
|
+
|
|
170
|
+
If you want the full legend of medical, dataset, runtime, and emulator references used across the project docs:
|
|
171
|
+
- `docs/EVIDENCE_BASE.md`
|
|
172
|
+
|
|
147
173
|
Recommended first-time setup:
|
|
148
174
|
|
|
149
175
|
```bash
|
|
@@ -239,14 +265,54 @@ You can also run it through the CLI:
|
|
|
239
265
|
iints demo-booth --output-dir results/booth_demo
|
|
240
266
|
```
|
|
241
267
|
|
|
268
|
+
For a cleaner live explanation, show this source file first:
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
examples/demos/07_live_stage_demo.py
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
That file is deliberately small and readable, so you can point to:
|
|
275
|
+
- `PATIENT_CONFIG`
|
|
276
|
+
- `OUTPUT_DIR`
|
|
277
|
+
- `DURATION_MINUTES`
|
|
278
|
+
- `TIME_STEP_MINUTES`
|
|
279
|
+
- `SEED`
|
|
280
|
+
|
|
281
|
+
Then run:
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
./scripts/run_live_stage_demo.sh
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
That shell wrapper resolves the SDK repo root automatically, so it still works if you launch it from another working directory via its full path.
|
|
288
|
+
|
|
289
|
+
And open:
|
|
290
|
+
- `results/booth_demo_live/booth_demo_poster.png`
|
|
291
|
+
- `results/booth_demo_live/JURY_TALK_TRACK.md`
|
|
292
|
+
- `results/booth_demo_live/BEURS_LIVE_DEMO_SCRIPT.txt`
|
|
293
|
+
|
|
294
|
+
What makes this script good for a booth:
|
|
295
|
+
- it visibly calls `run_full(...)`
|
|
296
|
+
- it visibly calls `generate_results_poster(...)`
|
|
297
|
+
- it visibly calls `prepare_ai_ready_artifacts(...)`
|
|
298
|
+
- you can point to one patient setting and explain how the same pipeline reruns for another patient
|
|
299
|
+
|
|
300
|
+
If you installed the SDK on another machine and do not have the repository checkout there, export the same demo code with:
|
|
301
|
+
|
|
302
|
+
```bash
|
|
303
|
+
iints demo-export --output-dir iints_demo
|
|
304
|
+
cd iints_demo
|
|
305
|
+
python 07_live_stage_demo.py
|
|
306
|
+
```
|
|
307
|
+
|
|
242
308
|
## Updating The SDK
|
|
243
309
|
|
|
244
|
-
If another machine is missing newer commands like `iints ai ...` or `iints demo-booth`, upgrade inside the active virtual environment:
|
|
310
|
+
If another machine is missing newer commands like `iints ai ...` or `iints demo-booth`, upgrade inside the active virtual environment to the latest release:
|
|
245
311
|
|
|
246
312
|
```bash
|
|
247
313
|
source .venv/bin/activate
|
|
248
314
|
python -m pip install -U pip
|
|
249
|
-
python -m pip install -U "iints-sdk-python35[mdmp]
|
|
315
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
250
316
|
hash -r
|
|
251
317
|
python -c "import iints; print(iints.__version__)"
|
|
252
318
|
```
|
|
@@ -260,6 +326,8 @@ iints-sdk-doctor
|
|
|
260
326
|
Full guide:
|
|
261
327
|
- `docs/UPDATING.md`
|
|
262
328
|
|
|
329
|
+
If you specifically need to reproduce a known environment, you can pin an exact release number instead of using the unpinned upgrade command above.
|
|
330
|
+
|
|
263
331
|
Troubleshooting:
|
|
264
332
|
- If `iints ai ...` says `No such command 'ai'`, your environment usually still has a legacy `iints` package installed alongside `iints-sdk-python35`.
|
|
265
333
|
- Run `iints-sdk-doctor` first.
|
|
@@ -267,7 +335,7 @@ Troubleshooting:
|
|
|
267
335
|
|
|
268
336
|
```bash
|
|
269
337
|
python -m pip uninstall -y iints iints-sdk-python35
|
|
270
|
-
python -m pip install -U "iints-sdk-python35[mdmp]
|
|
338
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
271
339
|
hash -r
|
|
272
340
|
```
|
|
273
341
|
|
|
@@ -287,13 +355,13 @@ iints mdmp validate mdmp_contract.yaml data/my_cgm.csv --output-json results/mdm
|
|
|
287
355
|
iints mdmp visualizer results/mdmp_report.json --output-html results/mdmp_dashboard.html
|
|
288
356
|
```
|
|
289
357
|
|
|
290
|
-
Use
|
|
358
|
+
Use bundled `mdmp_core` backend (optional):
|
|
291
359
|
|
|
292
360
|
```bash
|
|
293
361
|
export IINTS_MDMP_BACKEND=mdmp_core
|
|
294
362
|
```
|
|
295
363
|
|
|
296
|
-
Staleness / lineage checks
|
|
364
|
+
Staleness / lineage checks via the bundled `mdmp` CLI:
|
|
297
365
|
|
|
298
366
|
```bash
|
|
299
367
|
mdmp fingerprint-record data/my_cgm.csv --output-json results/fingerprint.json --expires-days 365
|
|
@@ -303,21 +371,17 @@ mdmp registry init --registry registry/mdmp_registry.json
|
|
|
303
371
|
mdmp registry push --registry registry/mdmp_registry.json --report results/mdmp_report.json
|
|
304
372
|
```
|
|
305
373
|
|
|
306
|
-
##
|
|
307
|
-
- SDK repo: `python35/IINTS-SDK`
|
|
308
|
-
- MDMP repo: `python35/MDMP`
|
|
374
|
+
## Bundled MDMP
|
|
309
375
|
|
|
310
|
-
|
|
311
|
-
- `tools/dev/dual_repo_status.sh`
|
|
312
|
-
- `tools/dev/dual_repo_commit_push.sh`
|
|
376
|
+
MDMP now ships inside the SDK, so the SDK no longer depends on a separate public MDMP repository checkout.
|
|
313
377
|
|
|
314
|
-
|
|
378
|
+
That means:
|
|
379
|
+
- `iints mdmp ...` stays available
|
|
380
|
+
- the bundled `mdmp` CLI can still be used
|
|
381
|
+
- local AI signing and verification can still use `mdmp_core`
|
|
315
382
|
|
|
316
|
-
|
|
317
|
-
-
|
|
318
|
-
- Uses private-repo checkout when `MDMP_REPO_TOKEN` is configured.
|
|
319
|
-
- Falls back to `mdmp-protocol` from PyPI when checkout is unavailable.
|
|
320
|
-
- Auto dependency updates for MDMP are handled via Dependabot (`.github/dependabot.yml`).
|
|
383
|
+
Reference:
|
|
384
|
+
- `docs/DUAL_REPO_WORKFLOW.md`
|
|
321
385
|
|
|
322
386
|
## Tools Layout
|
|
323
387
|
|
|
@@ -20,7 +20,7 @@ Docs (GitHub Pages): [python35.github.io/IINTS-SDK](https://python35.github.io/I
|
|
|
20
20
|
python3 -m venv .venv
|
|
21
21
|
source .venv/bin/activate
|
|
22
22
|
python -m pip install -U pip
|
|
23
|
-
pip install iints-sdk-python35
|
|
23
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
```bash
|
|
@@ -30,6 +30,16 @@ cd iints_quickstart
|
|
|
30
30
|
iints presets run --name baseline_t1d --algo algorithms/example_algorithm.py
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
If you want the clearest install/path rules first, read:
|
|
34
|
+
- `docs/INSTALLATION.md`
|
|
35
|
+
- `docs/AI_ASSISTANT.md` for the small Ollama setup and SDK linking flow
|
|
36
|
+
- `docs/EVIDENCE_BASE.md` for the full medical + technical source legend
|
|
37
|
+
|
|
38
|
+
Short rule:
|
|
39
|
+
- installed `iints ...` commands can run from any folder
|
|
40
|
+
- `python -m pip install -e ".[mdmp]"` only works from the SDK repo root
|
|
41
|
+
- after `iints quickstart`, switch into the generated project folder
|
|
42
|
+
|
|
33
43
|
## CareLink Import
|
|
34
44
|
|
|
35
45
|
The SDK can now ingest Medtronic CareLink / MiniMed CSV exports and convert them into the standard IINTS schema:
|
|
@@ -76,23 +86,37 @@ That workbench is designed for three things:
|
|
|
76
86
|
The SDK now includes a research-only AI assistant layer for explanations and run summaries.
|
|
77
87
|
It is gated by MDMP verification before any LLM call is allowed.
|
|
78
88
|
|
|
79
|
-
Use an active virtual environment for the full flow
|
|
89
|
+
Use an active virtual environment for the full flow.
|
|
90
|
+
|
|
91
|
+
If you installed the released SDK from PyPI, run:
|
|
80
92
|
|
|
81
93
|
```bash
|
|
82
94
|
python3 -m venv .venv
|
|
83
95
|
source .venv/bin/activate
|
|
84
96
|
python -m pip install -U pip
|
|
85
|
-
python -m pip install -
|
|
97
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
If you are developing from source instead, first move into the SDK repo root and then run:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
cd /path/to/IINTS-SDK
|
|
104
|
+
python -m pip install -U -e ".[mdmp]"
|
|
86
105
|
```
|
|
87
106
|
|
|
88
107
|
Run the open local Mistral model locally with Ollama:
|
|
89
108
|
|
|
90
109
|
```bash
|
|
91
|
-
python -m pip install -e ".[mdmp]"
|
|
92
110
|
ollama pull ministral-3:8b
|
|
93
111
|
iints ai models
|
|
94
112
|
```
|
|
95
113
|
|
|
114
|
+
If you want the short "install Ollama + link it to the SDK" guide, read:
|
|
115
|
+
- `docs/AI_ASSISTANT.md`
|
|
116
|
+
|
|
117
|
+
If you want the full legend of medical, dataset, runtime, and emulator references used across the project docs:
|
|
118
|
+
- `docs/EVIDENCE_BASE.md`
|
|
119
|
+
|
|
96
120
|
Recommended first-time setup:
|
|
97
121
|
|
|
98
122
|
```bash
|
|
@@ -188,14 +212,54 @@ You can also run it through the CLI:
|
|
|
188
212
|
iints demo-booth --output-dir results/booth_demo
|
|
189
213
|
```
|
|
190
214
|
|
|
215
|
+
For a cleaner live explanation, show this source file first:
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
examples/demos/07_live_stage_demo.py
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
That file is deliberately small and readable, so you can point to:
|
|
222
|
+
- `PATIENT_CONFIG`
|
|
223
|
+
- `OUTPUT_DIR`
|
|
224
|
+
- `DURATION_MINUTES`
|
|
225
|
+
- `TIME_STEP_MINUTES`
|
|
226
|
+
- `SEED`
|
|
227
|
+
|
|
228
|
+
Then run:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
./scripts/run_live_stage_demo.sh
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
That shell wrapper resolves the SDK repo root automatically, so it still works if you launch it from another working directory via its full path.
|
|
235
|
+
|
|
236
|
+
And open:
|
|
237
|
+
- `results/booth_demo_live/booth_demo_poster.png`
|
|
238
|
+
- `results/booth_demo_live/JURY_TALK_TRACK.md`
|
|
239
|
+
- `results/booth_demo_live/BEURS_LIVE_DEMO_SCRIPT.txt`
|
|
240
|
+
|
|
241
|
+
What makes this script good for a booth:
|
|
242
|
+
- it visibly calls `run_full(...)`
|
|
243
|
+
- it visibly calls `generate_results_poster(...)`
|
|
244
|
+
- it visibly calls `prepare_ai_ready_artifacts(...)`
|
|
245
|
+
- you can point to one patient setting and explain how the same pipeline reruns for another patient
|
|
246
|
+
|
|
247
|
+
If you installed the SDK on another machine and do not have the repository checkout there, export the same demo code with:
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
iints demo-export --output-dir iints_demo
|
|
251
|
+
cd iints_demo
|
|
252
|
+
python 07_live_stage_demo.py
|
|
253
|
+
```
|
|
254
|
+
|
|
191
255
|
## Updating The SDK
|
|
192
256
|
|
|
193
|
-
If another machine is missing newer commands like `iints ai ...` or `iints demo-booth`, upgrade inside the active virtual environment:
|
|
257
|
+
If another machine is missing newer commands like `iints ai ...` or `iints demo-booth`, upgrade inside the active virtual environment to the latest release:
|
|
194
258
|
|
|
195
259
|
```bash
|
|
196
260
|
source .venv/bin/activate
|
|
197
261
|
python -m pip install -U pip
|
|
198
|
-
python -m pip install -U "iints-sdk-python35[mdmp]
|
|
262
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
199
263
|
hash -r
|
|
200
264
|
python -c "import iints; print(iints.__version__)"
|
|
201
265
|
```
|
|
@@ -209,6 +273,8 @@ iints-sdk-doctor
|
|
|
209
273
|
Full guide:
|
|
210
274
|
- `docs/UPDATING.md`
|
|
211
275
|
|
|
276
|
+
If you specifically need to reproduce a known environment, you can pin an exact release number instead of using the unpinned upgrade command above.
|
|
277
|
+
|
|
212
278
|
Troubleshooting:
|
|
213
279
|
- If `iints ai ...` says `No such command 'ai'`, your environment usually still has a legacy `iints` package installed alongside `iints-sdk-python35`.
|
|
214
280
|
- Run `iints-sdk-doctor` first.
|
|
@@ -216,7 +282,7 @@ Troubleshooting:
|
|
|
216
282
|
|
|
217
283
|
```bash
|
|
218
284
|
python -m pip uninstall -y iints iints-sdk-python35
|
|
219
|
-
python -m pip install -U "iints-sdk-python35[mdmp]
|
|
285
|
+
python -m pip install -U "iints-sdk-python35[mdmp]"
|
|
220
286
|
hash -r
|
|
221
287
|
```
|
|
222
288
|
|
|
@@ -236,13 +302,13 @@ iints mdmp validate mdmp_contract.yaml data/my_cgm.csv --output-json results/mdm
|
|
|
236
302
|
iints mdmp visualizer results/mdmp_report.json --output-html results/mdmp_dashboard.html
|
|
237
303
|
```
|
|
238
304
|
|
|
239
|
-
Use
|
|
305
|
+
Use bundled `mdmp_core` backend (optional):
|
|
240
306
|
|
|
241
307
|
```bash
|
|
242
308
|
export IINTS_MDMP_BACKEND=mdmp_core
|
|
243
309
|
```
|
|
244
310
|
|
|
245
|
-
Staleness / lineage checks
|
|
311
|
+
Staleness / lineage checks via the bundled `mdmp` CLI:
|
|
246
312
|
|
|
247
313
|
```bash
|
|
248
314
|
mdmp fingerprint-record data/my_cgm.csv --output-json results/fingerprint.json --expires-days 365
|
|
@@ -252,21 +318,17 @@ mdmp registry init --registry registry/mdmp_registry.json
|
|
|
252
318
|
mdmp registry push --registry registry/mdmp_registry.json --report results/mdmp_report.json
|
|
253
319
|
```
|
|
254
320
|
|
|
255
|
-
##
|
|
256
|
-
- SDK repo: `python35/IINTS-SDK`
|
|
257
|
-
- MDMP repo: `python35/MDMP`
|
|
321
|
+
## Bundled MDMP
|
|
258
322
|
|
|
259
|
-
|
|
260
|
-
- `tools/dev/dual_repo_status.sh`
|
|
261
|
-
- `tools/dev/dual_repo_commit_push.sh`
|
|
323
|
+
MDMP now ships inside the SDK, so the SDK no longer depends on a separate public MDMP repository checkout.
|
|
262
324
|
|
|
263
|
-
|
|
325
|
+
That means:
|
|
326
|
+
- `iints mdmp ...` stays available
|
|
327
|
+
- the bundled `mdmp` CLI can still be used
|
|
328
|
+
- local AI signing and verification can still use `mdmp_core`
|
|
264
329
|
|
|
265
|
-
|
|
266
|
-
-
|
|
267
|
-
- Uses private-repo checkout when `MDMP_REPO_TOKEN` is configured.
|
|
268
|
-
- Falls back to `mdmp-protocol` from PyPI when checkout is unavailable.
|
|
269
|
-
- Auto dependency updates for MDMP are handled via Dependabot (`.github/dependabot.yml`).
|
|
330
|
+
Reference:
|
|
331
|
+
- `docs/DUAL_REPO_WORKFLOW.md`
|
|
270
332
|
|
|
271
333
|
## Tools Layout
|
|
272
334
|
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=
|
|
2
|
+
requires = ["setuptools>=77.0.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "iints-sdk-python35"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.4.0"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name="Rune Bobbaers", email="rune.bobbaers@gmail.com" },
|
|
10
10
|
]
|
|
11
11
|
description = "A pre-clinical Edge-AI SDK for diabetes management validation."
|
|
12
12
|
readme = "README.md"
|
|
13
|
+
license = "Apache-2.0"
|
|
14
|
+
license-files = ["LICENSE", "NOTICE", "LICENSE-MIT-IINTS-LEGACY"]
|
|
13
15
|
requires-python = ">=3.10"
|
|
14
16
|
classifiers = [
|
|
15
17
|
"Programming Language :: Python :: 3",
|
|
@@ -17,7 +19,6 @@ classifiers = [
|
|
|
17
19
|
"Programming Language :: Python :: 3.11",
|
|
18
20
|
"Programming Language :: Python :: 3.12",
|
|
19
21
|
"Programming Language :: Python :: 3.13",
|
|
20
|
-
"License :: OSI Approved :: MIT License",
|
|
21
22
|
"Operating System :: OS Independent",
|
|
22
23
|
"Development Status :: 5 - Production/Stable",
|
|
23
24
|
]
|
|
@@ -60,12 +61,13 @@ research = [
|
|
|
60
61
|
"onnxscript>=0.1.0",
|
|
61
62
|
]
|
|
62
63
|
mdmp = [
|
|
63
|
-
"
|
|
64
|
+
"cryptography>=42.0.0",
|
|
64
65
|
]
|
|
65
66
|
|
|
66
67
|
[project.scripts]
|
|
67
68
|
iints = "iints.cli.cli:app"
|
|
68
69
|
iints-sdk-doctor = "iints_sdk_python35_doctor:main"
|
|
70
|
+
mdmp = "mdmp_core.cli:app"
|
|
69
71
|
|
|
70
72
|
[project.entry-points."iints.algorithms"]
|
|
71
73
|
"PID Controller" = "iints.core.algorithms.pid_controller:PIDController"
|
|
@@ -92,3 +94,7 @@ iints = [
|
|
|
92
94
|
"presets/*.json",
|
|
93
95
|
"presets/*.yaml",
|
|
94
96
|
]
|
|
97
|
+
mdmp_core = [
|
|
98
|
+
"keys/*.pem",
|
|
99
|
+
"data/conformance/vectors/*.json",
|
|
100
|
+
]
|
|
@@ -11,7 +11,7 @@ except ImportError: # pragma: no cover - Python < 3.8 fallback
|
|
|
11
11
|
try:
|
|
12
12
|
__version__ = version("iints-sdk-python35")
|
|
13
13
|
except PackageNotFoundError: # pragma: no cover - source tree fallback
|
|
14
|
-
__version__ = "1.
|
|
14
|
+
__version__ = "1.4.0"
|
|
15
15
|
|
|
16
16
|
# Note to developers: this SDK is currently maintained by a single author.
|
|
17
17
|
# Please report bugs via GitHub issues and feel free to contribute fixes via PRs.
|