MFDS 48-Rule DUR Interaction Network
Filter 48 official Korean MFDS DUR contraindications (red) and hold rules (amber) by ingredient or category.
Compares supplied color/shape numbers against five entries and checks a frozen 48-rule table. No image recognition, global drug search or complete contraindication check occurs here. Photo retrieval is a separate research feature.
Frozen-cohort evaluation record S-PUB
These are frozen-cohort evaluation records. The evaluated-model form uses those preprocessing steps and weights. These metrics do not establish the scope of separate mathematical calculators or the full research scope.
Compares supplied color/shape numbers against five entries and checks a frozen 48-rule table. No image recognition, global drug search or complete contraindication check occurs here. Photo retrieval is a separate research feature.
POST /api/run/pill
Enter values and run. Examples are labeled. A numerical PASS does not establish clinical validity or full capability.
| Metric | Observed |
|---|---|
| Fold-4 holdout empirical split-conformal coverage (alpha = 0.05) | 0.9651 |
| White round look-alike tablet pharmacist HOLD abstention rate | 0.2959 |
| Synthetic DUR interception (12 templates, 150 repetitions) | 1 |
| Combined wrong-canister swap & MFDS DUR hazard interception rate | 1 |
| Unassisted 192-class open-gallery consumer-to-NIH Top-5 retrieval | 0.7477 |
| Unassisted 192-class open-gallery consumer-to-NIH Top-1 retrieval | 0.451 |
| Folds 0-2 deep metric ensemble 192-class open-gallery Top-1 retrieval (DINOv2 + ConvNeXt) | 0.9074 |
| Folds 0-2 deep metric ensemble 4,902-class full-catalog open-gallery Top-5 retrieval | 0.8886 |
Decodes RGB pill photographs directly from ePillID_data.zip via Pillow and numpy, segments foreground contours, extracts 55D CIE L*a*b*, hue, shape, 3-ring radial, and internal brightness descriptors, aligns Fold 0-2 consumer views to per-side NIH reference prototypes, calibrates split-conformal threshold q_hat on disjoint Fold-3 (n = 745), and evaluates locked Fold-4 (n = 745). DUR checks use repeated synthetic scenarios; the 48-rule catalog count describes stored rules, not clinical validation coverage.
DISP-CASE-01-REAL-SINGLETON-MATCH
Fold-4 Real Pill fcn_mix_weight/dc_224/1018.jpg Singleton Conformal Match (|C(x)| = 1)
11.151263.980.7643| Gate | Status | Specification & verification detail | Observed summary |
|---|---|---|---|
| G1 | Pass | Real ePillID JPEG archive, 5-fold split disjointness & SHA-256 provenanceVerified SHA-256 of ePillID_data.zip (5648 real decoded JPEGs), all_labels.csv (13,532 rows), Fold-3 calibration CSV (745), Fold-4 holdout CSV (745), and 0 image/type leakage. | Raw verifier output (4 values)calTestImgOverlap=0; calTestTypeOverlap=0; decodedRealImages=5648; epillZipSha256=b960b3b1f0ee145ae2be7cfe188de1feaba4286b5d2fb7388004d151ad7311ac |
| G2 | Pass | Split-conformal abstention (|C(x)| > 1 -> HOLD) & 6-category MFDS DUR interlockRecomputed Fold-3 conformal threshold q_hat = 0.728379 (alpha = 0.05), verified 0 autonomous clearances when |C(x)| > 1, and 150/150 interceptions in 12 synthetic DUR templates. This is not an independent validation of all 48 catalog rules. | Raw verifier output (15 values)catalogRuleCount=48; conformalAbstentionBypasses=0; durEvaluationScope=SYNTHETIC_SCENARIO_REPETITIONS; durScenarioRepetitions=150; durScenarioTemplateCount=12; fullCatalogClinicalValidationCompleted=false; mfdsDurCategoryCounts: (AGE_CONTRAINDICATION=25, CONTRAINDICATED_COADMIN=25, DOSE_CEILING=25, DURATION_CEILING=25, PREGNANCY_CONTRAINDICATION=25, THERAPEUTIC_DUPLICATION=25); mfdsDurSilentPasses=0; recomputedQHat=0.7284; singletonMismatchBypasses=0 |
| G3 | Pass | Independent accepted Top-1 accuracy & >= 95% split-conformal coverage checkAccepted singleton (|C(x)| = 1) Top-1 accuracy = 0.966877 (613/634, Wilson 95% CI [0.949895, 0.978235]) vs 0.90604 unguarded Top-1; Fold-4 coverage = 0.965101. | Raw verifier output (5 values)acceptedSingletonTop1=0.9669; acceptedSingletonWilson95: [0.9499, 0.9782]; conformalEmpiricalCoverage=0.9651; hazardInterceptionRate=1; unguardedTrayTop1=0.906 |
| G4 | Pass | White round look-alike abstention rate & unassisted 192-class retrieval boundaryWhite round look-alike tablets trigger HOLD at 0.295918 (58/196) vs 0.096539 (53/549) on colored/oblong pills; 192-class open Top-1 = 0.451007. | Raw verifier output (4 values)nonWhiteRoundHoldRate=0.0965; openGallery192Top1=0.451; openGallery192Top5=0.7477; whiteRoundHoldRate=0.2959 |
| Input archive / manifest | Records | SHA-256 |
|---|---|---|
| ePillID Official Archive (5,648 Decoded Real NIH & Consumer Pill JPEGs) | 5,648 | b960b3b1f0ee145ae2be7cfe188de1feaba4286b5d2fb7388004d151ad7311ac |
| ePillID Official Master Metadata (all_labels.csv) | 13,532 | 022c9f0a530c70d0eef9674cd5e47e1f5424c2380fb6a8d5cf83f28740c16d7b |
| ePillID Fold-3 Disjoint Conformal Calibration Split | 745 | 81dd587e1a50ac59d8e3d3de964451bcf1a05368fe4dfdd6788b19fa788992c9 |
| ePillID Fold-4 Locked Consumer Holdout Split | 745 | cc77764f9cd4f0223fa934fbc07aad29622a7885f8353e89c8f908464a659299 |
| GALENOS Locked 5-Fold Split Manifest (18-2-epillid.tsv) | 3,728 | 3d306ed4ace8844427c6fe893b6ef6307550f22ad24610994c699cebc5718479 |
| MFDS/KIDS 6-Category 48-Rule DUR Catalog (mfds-dur-catalog.json) | 48 | ca163b631cd77c058e2f1347fb8101214c7bec01a88d81aa5ac308ba81e09c34 |
| ePillID Folds 0-2 Deep Metric Ensemble Fold-4 Reference (epillid-v2-deep-metric-reference.json) | 745 | 65a208b6c5bc306a5cfa63e1cfb3cc2edd83ce77d0d781863ff93ec704db0a1e |