iints-sdk-python35 1.3.0__py3-none-any.whl → 1.3.1__py3-none-any.whl

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/__init__.py CHANGED
@@ -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.3.0"
14
+ __version__ = "1.3.1"
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.
@@ -231,10 +231,14 @@ def _build_commands_markdown(
231
231
  supervisor_dir = run_outputs["03_supervisor_override"]["output_dir"]
232
232
  return (
233
233
  "# Booth Demo Commands\n\n"
234
- "## Run from source tree\n\n"
234
+ "## Showable live demo script\n\n"
235
235
  "```bash\n"
236
236
  f"PYTHONPATH=src python3 {example_script} --output-dir {output_dir}\n"
237
237
  "```\n\n"
238
+ "## Run from source tree\n\n"
239
+ "```bash\n"
240
+ f"PYTHONPATH=src python3 examples/demos/06_booth_demo.py --output-dir {output_dir}\n"
241
+ "```\n\n"
238
242
  "## Run via installed CLI\n\n"
239
243
  "```bash\n"
240
244
  f"iints demo-booth --output-dir {output_dir}\n"
@@ -258,12 +262,15 @@ def _build_live_demo_script_text(
258
262
  "IINTS-AF BOOTH LIVE DEMO SCRIPT\n"
259
263
  "===============================\n\n"
260
264
  "1. WHAT CODE TO SHOW FIRST\n"
261
- "- Show examples/demos/06_booth_demo.py first.\n"
262
- " Reason: it is the shortest, clearest orchestration file and shows the whole story in one screen.\n"
263
- "- If someone asks how it really works, open src/iints/analysis/booth_demo.py.\n"
264
- " Reason: that file defines the three scenarios and writes the poster, talk track, and run bundle outputs.\n\n"
265
+ "- Show examples/demos/07_live_stage_demo.py first.\n"
266
+ " Reason: the top of that file exposes the patient profile, output folder, duration, and seed on one screen.\n"
267
+ "- Point out that you can swap PATIENT_CONFIG to another packaged profile such as patient_559_config or clinic_safe_hypo_prone.\n"
268
+ "- If someone asks how the full bundle is generated, open examples/demos/06_booth_demo.py and then src/iints/analysis/booth_demo.py.\n"
269
+ " Reason: those files define the three scenarios and write the poster, talk track, and run bundle outputs.\n\n"
265
270
  "2. LIVE COMMAND TO RUN\n"
266
- "- From the repository root, run:\n"
271
+ "- From the repository root, run the live stage script:\n"
272
+ " ./scripts/run_live_stage_demo.sh\n"
273
+ "- Or run the booth bundle directly:\n"
267
274
  " ./scripts/run_booth_demo.sh\n"
268
275
  "- Or use the installed CLI:\n"
269
276
  " iints demo-booth --output-dir results/booth_demo\n\n"
@@ -304,6 +311,7 @@ def _build_live_demo_script_text(
304
311
  def build_booth_demo(
305
312
  output_dir: str | Path = "./results/booth_demo",
306
313
  *,
314
+ patient_config: str | Path | dict[str, Any] = "default_patient",
307
315
  duration_minutes: int = 360,
308
316
  time_step: int = 5,
309
317
  seed: int = 42,
@@ -326,7 +334,7 @@ def build_booth_demo(
326
334
  outputs = run_full(
327
335
  algorithm=spec.algorithm_factory(),
328
336
  scenario=spec.scenario,
329
- patient_config="default_patient",
337
+ patient_config=patient_config,
330
338
  duration_minutes=duration_minutes,
331
339
  time_step=time_step,
332
340
  seed=seed,
@@ -375,6 +383,7 @@ def build_booth_demo(
375
383
 
376
384
  summary_payload = {
377
385
  "output_dir": str(resolved_output),
386
+ "patient_config": str(patient_config),
378
387
  "duration_minutes": duration_minutes,
379
388
  "time_step_minutes": time_step,
380
389
  "seed": seed,
@@ -395,7 +404,7 @@ def build_booth_demo(
395
404
  }
396
405
  _write_json(resolved_output / "demo_summary.json", summary_payload)
397
406
 
398
- example_script = Path("examples/demos/06_booth_demo.py")
407
+ example_script = Path("examples/demos/07_live_stage_demo.py")
399
408
  commands_markdown = _build_commands_markdown(
400
409
  output_dir=resolved_output,
401
410
  example_script=example_script,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: iints-sdk-python35
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: A pre-clinical Edge-AI SDK for diabetes management validation.
5
5
  Author-email: Rune Bobbaers <rune.bobbaers@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/python35/IINTS-SDK
@@ -246,7 +246,7 @@ If another machine is missing newer commands like `iints ai ...` or `iints demo-
246
246
  ```bash
247
247
  source .venv/bin/activate
248
248
  python -m pip install -U pip
249
- python -m pip install -U "iints-sdk-python35[mdmp]==1.3.0"
249
+ python -m pip install -U "iints-sdk-python35[mdmp]==1.3.1"
250
250
  hash -r
251
251
  python -c "import iints; print(iints.__version__)"
252
252
  ```
@@ -267,7 +267,7 @@ Troubleshooting:
267
267
 
268
268
  ```bash
269
269
  python -m pip uninstall -y iints iints-sdk-python35
270
- python -m pip install -U "iints-sdk-python35[mdmp]==1.3.0"
270
+ python -m pip install -U "iints-sdk-python35[mdmp]==1.3.1"
271
271
  hash -r
272
272
  ```
273
273
 
@@ -1,4 +1,4 @@
1
- iints/__init__.py,sha256=s1XULKZVzVJ5hsjHybit0pJpgAHBIVdE-G6wc98TWV4,6879
1
+ iints/__init__.py,sha256=abawJ2sonvJcw1K4WT2JFR-GSq3il5pnp3_fFKwOxBw,6879
2
2
  iints/highlevel.py,sha256=DX12LRmL6YaYY99P0c_P93xfHe4mZjqyLhTYuS6L6hI,20491
3
3
  iints/metrics.py,sha256=O9hqOqJpUhUJDqsbfuqRMS9dkV97gzcgh3Y2jYUqHzg,907
4
4
  iints/ai/__init__.py,sha256=nyRDcFfSHI4a3NbTvySipFc3_inqRMEsr6xIEipWuyo,575
@@ -15,7 +15,7 @@ iints/ai/backends/ollama.py,sha256=3VWi37ueh7oeNK6tPrq3Ks8gbfQhzgNlMHHnV_6BxAY,1
15
15
  iints/analysis/__init__.py,sha256=qz0Su0PtICIBLlUgfq37YW4IkK6BuyfOWaqC6t4NKQM,640
16
16
  iints/analysis/algorithm_xray.py,sha256=-AtXkZsgnsiFQ_K-IozjIDWkq-dDn0i0zmqWVMhINP4,15952
17
17
  iints/analysis/baseline.py,sha256=PCFVb5vX0lYKChZvVk-8I_B5NLQQwGyx7Y6M3XjpIEY,3458
18
- iints/analysis/booth_demo.py,sha256=qpcLwLDqEiCon9RrK2GQrNvkdsb6mkoilAv8EXJsT_s,17131
18
+ iints/analysis/booth_demo.py,sha256=oPFWNBjEbC1SXd209652dIzP97yl93vbV9qFC8Y5rek,17749
19
19
  iints/analysis/carelink_workbench.py,sha256=SZLUamITycXgJpVUhAvsVmU1H_9vSNxp7zl4Ym2cadA,28241
20
20
  iints/analysis/clinical_benchmark.py,sha256=FP3L2Ntub6vpWxCwI91BSQ-Y9pTuFqkt2SYjb91Q7DE,7766
21
21
  iints/analysis/clinical_metrics.py,sha256=a9JNEV7Jzr_DZqS5o8UhHpB7TTkBZ9pp_OqSKN43OZc,18441
@@ -145,9 +145,9 @@ iints/validation/schemas.py,sha256=uXhiPxyfyvOgCA83ZPBIzlITOu663fWctYxOMXUyf1I,4
145
145
  iints/visualization/__init__.py,sha256=OdxVHDpY-9bDt8DTWWd-dspn1p0O9T908Cck-IGFaiM,640
146
146
  iints/visualization/cockpit.py,sha256=Y7hoJXcTEWQ8yLiU5X5abT58uqGGsQllftXJwqerG1E,25057
147
147
  iints/visualization/uncertainty_cloud.py,sha256=I5nNzSitgai21rkul31YNtJriSEmCeTsW0GWW2HUskY,19848
148
- iints_sdk_python35-1.3.0.dist-info/licenses/LICENSE,sha256=b1luljj2mWWDW10t_qFIqd9Z6euXAcDBmIXowWuUlm4,1417
149
- iints_sdk_python35-1.3.0.dist-info/METADATA,sha256=i7LlkYoLExo1fYreCnPQ0wKfGCQV8hY9lS0u6XLp4WM,12639
150
- iints_sdk_python35-1.3.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
151
- iints_sdk_python35-1.3.0.dist-info/entry_points.txt,sha256=aVioeLytTHG7WM7L3LIZ6XDJCKiSfqG-nVUQDVHPpQk,578
152
- iints_sdk_python35-1.3.0.dist-info/top_level.txt,sha256=7Usr6NQKiC9SpNFyCis81MmgXy71lDCr5unR8BNXZ0E,6
153
- iints_sdk_python35-1.3.0.dist-info/RECORD,,
148
+ iints_sdk_python35-1.3.1.dist-info/licenses/LICENSE,sha256=b1luljj2mWWDW10t_qFIqd9Z6euXAcDBmIXowWuUlm4,1417
149
+ iints_sdk_python35-1.3.1.dist-info/METADATA,sha256=gghIM1hl0jJeFhkzn3i4azSfDoEBTAWiXB-vkSoOC7Y,12639
150
+ iints_sdk_python35-1.3.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
151
+ iints_sdk_python35-1.3.1.dist-info/entry_points.txt,sha256=aVioeLytTHG7WM7L3LIZ6XDJCKiSfqG-nVUQDVHPpQk,578
152
+ iints_sdk_python35-1.3.1.dist-info/top_level.txt,sha256=7Usr6NQKiC9SpNFyCis81MmgXy71lDCr5unR8BNXZ0E,6
153
+ iints_sdk_python35-1.3.1.dist-info/RECORD,,