Flamehaven commited on
Commit
6dfaf4f
·
verified ·
1 Parent(s): 590fd7a

fix: registry stale, calibration version dynamic, Regulatory Traceability card with color badges

Browse files
Files changed (1) hide show
  1. stem_ai/app.py +10 -9
stem_ai/app.py CHANGED
@@ -311,10 +311,13 @@ with gr.Blocks(title=f"STEM BIO-AI — Evidence Scanner v{__version__}", **_bloc
311
  </p>
312
  </div>
313
  <div style="{_CARD_STYLE}">
314
- <p style="{_CARD_TITLE}">Current Deterministic Layers</p>
315
  <p style="{_CARD_BODY}">
316
- Deterministic bio diagnostics for SMILES surface checks, optional RDKit validation, parser-guard detection,
317
- silent mock fallback detection, contract-surface checks, and an evidence-only regulatory traceability assistant.
 
 
 
318
  </p>
319
  </div>
320
  <div style="{_CARD_STYLE}">
@@ -330,13 +333,11 @@ with gr.Blocks(title=f"STEM BIO-AI — Evidence Scanner v{__version__}", **_bloc
330
  </p>
331
  </div>
332
  <div style="{_CARD_STYLE}">
333
- <p style="{_CARD_TITLE}">Regulatory Frameworks</p>
334
  <p style="{_CARD_BODY}">
335
- <strong>ICH M15 MIDD</strong> (Step 4, 2026) — each rubric item is citation-aligned to
336
- ICH M15 §§2.1.2 · 3 · 4.1 · 4.2 · 4.3 so MIDD repos see directly applicable FDA/EMA regulatory
337
- requirement context in the traceability output.<br>
338
- <strong>AIRI</strong> — MIT AI Risk Repository runtime bundle maps triggered detectors to
339
- covered risks and known gaps across the curated bio/clinical subset.
340
  </p>
341
  </div>
342
  <div style="{_CARD_STYLE}">
 
311
  </p>
312
  </div>
313
  <div style="{_CARD_STYLE}">
314
+ <p style="{_CARD_TITLE}">Regulatory Traceability</p>
315
  <p style="{_CARD_BODY}">
316
+ Each rubric item is citation-aligned to official regulatory frameworks.
317
+ Every scan output surfaces applicable requirement IDs.<br>
318
+ <span style="display:inline-block;margin-top:6px;background:#dbeafe;border:1px solid #3b82f6;border-radius:5px;padding:2px 8px;font-size:12px;font-weight:700;color:#1d4ed8;">✓ ICH M15 MIDD (Step 4, 2026)</span>
319
+ <span style="display:inline-block;margin-top:4px;background:#e0f2fe;border:1px solid #0284c7;border-radius:5px;padding:2px 8px;font-size:12px;font-weight:700;color:#075985;">✓ EU AI Act 2024/1689</span>
320
+ <span style="display:inline-block;margin-top:4px;background:#f0fdf4;border:1px solid #16a34a;border-radius:5px;padding:2px 8px;font-size:12px;font-weight:700;color:#15803d;">✓ IMDRF SaMD/GMLP</span>
321
  </p>
322
  </div>
323
  <div style="{_CARD_STYLE}">
 
333
  </p>
334
  </div>
335
  <div style="{_CARD_STYLE}">
336
+ <p style="{_CARD_TITLE}">AIRI — AI Risk Index</p>
337
  <p style="{_CARD_BODY}">
338
+ <span style="display:inline-block;background:#1e3a6e;border-radius:5px;padding:2px 8px;font-size:12px;font-weight:700;color:#ffffff;">AIRI</span>
339
+ MIT AI Risk Repository runtime bundle maps triggered detectors to covered risks and known gaps
340
+ across the curated bio/clinical subset (184 risks · 32 in detector scope).
 
 
341
  </p>
342
  </div>
343
  <div style="{_CARD_STYLE}">