{
  "evaluation": {
    "clusterBootstrap": {
      "allBootstrapMicroGainsPositive": true,
      "clusters": 192,
      "exploratoryHoldoutReuse": true,
      "images": 745,
      "macroTop5AbsoluteGain": 0.5734374999999999,
      "macroTop5AbsoluteGain95": [
        0.5137868923611111,
        0.6269205729166666
      ],
      "method": "resample 192 pill types with replacement, retain all photos within selected type; percentile 95% interval",
      "microTop5AbsoluteGain": 0.5932885906040268,
      "microTop5AbsoluteGain95": [
        0.5423900176750068,
        0.6409639051864036
      ],
      "replicates": 2000,
      "seed": 20261116,
      "unit": "pilltype"
    },
    "model": {
      "baseline55FullCatalogue": {
        "catalogueSize": 4902,
        "counts": {
          "1": 44,
          "10": 198,
          "5": 145
        },
        "meanReciprocalRank": 0.13190453201530994,
        "n": 745,
        "top1": 0.05906040268456376,
        "top10": 0.2657718120805369,
        "top1Wilson95": [
          0.044287,
          0.078357
        ],
        "top5": 0.19463087248322147,
        "top5Wilson95": [
          0.167797,
          0.224597
        ]
      },
      "calibration": {
        "alpha": 0.05,
        "distanceQuantile": 0.8451383289386273,
        "n": 745,
        "thresholdUsesHoldout": false
      },
      "cataloguePillTypes": 4902,
      "elapsedSeconds": 13.452928066253662,
      "excludedTrueClassUnknownProxy": {
        "n": 745,
        "notARealUnknownDataset": true,
        "stillHasVisualCandidate": 745
      },
      "fullCatalogue": {
        "catalogueSize": 4902,
        "counts": {
          "1": 316,
          "10": 649,
          "5": 587
        },
        "meanReciprocalRank": 0.5827311762560299,
        "n": 745,
        "top1": 0.42416107382550333,
        "top10": 0.8711409395973154,
        "top1Wilson95": [
          0.389151,
          0.459949
        ],
        "top5": 0.7879194630872484,
        "top5Wilson95": [
          0.757127,
          0.815758
        ]
      },
      "holdoutPillTypes": 192,
      "holdoutPredictionSets": {
        "coverage": 0.9516778523489933,
        "covered": 709,
        "emptyCount": 0,
        "meanSize": 118.6751677852349,
        "n": 745,
        "singletonCount": 0
      },
      "holdoutReuse": "exploratory re-use of Fold4; it was observed in v1 and v2; not a newly blinded confirmatory trial",
      "matched192Catalogue": {
        "catalogueSize": 192,
        "counts": {
          "1": 537,
          "10": 726,
          "5": 701
        },
        "meanReciprocalRank": 0.8219955565451015,
        "n": 745,
        "top1": 0.7208053691275168,
        "top10": 0.974496644295302,
        "top1Wilson95": [
          0.687522,
          0.751823
        ],
        "top5": 0.9409395973154362,
        "top5Wilson95": [
          0.921643,
          0.955713
        ]
      },
      "pairedTop5VsBaseline55": {
        "exactTwoSidedP": 1.8941045997803163e-116,
        "improved": 455,
        "regressed": 13
      },
      "pairedTop5VsV1": {
        "exactTwoSidedP": 2.1861240065883856e-123,
        "improved": 451,
        "regressed": 7
      },
      "pairedTop5VsV2": {
        "exactTwoSidedP": 2.3037546341100945e-11,
        "improved": 86,
        "regressed": 19
      },
      "referenceImages": 9804,
      "selected": {
        "alpha": 45.0,
        "beta": 0.18,
        "dims": 160,
        "gamma_hub": 0.35,
        "hub_k": 15,
        "id": "cv-rot4-pca160-opt55-csls",
        "kind": "linear",
        "mode": "dual_csls",
        "norm_pca": true,
        "opt_alpha": 35.0,
        "pca": 160,
        "view": 1
      },
      "selectionRecordSha256": "024c61079c77e0bcc3469c09e085222f4c2fbbabc8fb5ca6da7874972bf0c68c",
      "v1SelectedFullCatalogue": {
        "catalogueSize": 4902,
        "counts": {
          "1": 50,
          "10": 204,
          "5": 143
        },
        "meanReciprocalRank": 0.13498398583537402,
        "n": 745,
        "top1": 0.06711409395973154,
        "top10": 0.2738255033557047,
        "top1Wilson95": [
          0.051276,
          0.087393
        ],
        "top5": 0.1919463087248322,
        "top5Wilson95": [
          0.165275,
          0.221778
        ]
      }
    },
    "runtime": {
      "allPassed": true,
      "confirmedIdentities": 0,
      "count": 745,
      "elapsedSeconds": 31.13145091700426,
      "endToEndTop1": 314,
      "endToEndTop5": 585,
      "hardAbstains": 2,
      "holdCount": 745,
      "mismatches": [],
      "rankMatches": 745,
      "sameHeldoutImagesReusedForRuntimeVerification": true
    }
  },
  "interpretationEn": "Combines a public pretrained image encoder (Rot-4 PCA-160 Ridge) with a 55D CIE Lab and contour optical Ridge branch plus train-consumer-only CSLS hubness normalization. Fold4 was reused for exploratory evaluation; this is not a new blinded trial. The catalogue does not cover every marketed medicine, and all outputs remain unconfirmed candidates. Current FDA metadata maps 1,172 types; 3,680 unmapped and 50 ambiguous types are not assigned inferred names.",
  "interpretationKo": "공개 사전학습 영상 모델(Rot-4 PCA-160 Ridge)과 55차원 CIE Lab 윤곽 광학 모델의 이중 분기 유사도를 결합하고, 학습 소비자 표본에서만 계산한 CSLS 허브성 보정을 적용합니다. 같은 Fold4 평가를 재사용한 탐색 결과이며 새 맹검 시험은 아닙니다. 전체 시판 의약품을 포괄하지 않으며, 외형만으로 동일성을 확정할 수 없어 모든 결과를 후보로 반환합니다. 현행 FDA 자료에서 1,172종의 품목명을 연결했고 미등재 3,680종과 모호한 50종은 이름을 추정하지 않았습니다.",
  "medicationMetadata": {
    "examples": {
      "AMBIGUOUS": [
        {
          "pilltype": "10f7c962576aa3cd98c7d26e40689024b9fae6dfb7ffec7bc74c9a15",
          "result": {
            "reason": "CONFLICTING_OFFICIAL_PRODUCT_RECORDS",
            "recordVariantCount": 2,
            "status": "AMBIGUOUS"
          }
        },
        {
          "pilltype": "a336e8f6c4b0dadb5c7be7e964c872f73dee2c05ccd77eaa7083e678",
          "result": {
            "reason": "CONFLICTING_OFFICIAL_PRODUCT_RECORDS",
            "recordVariantCount": 2,
            "status": "AMBIGUOUS"
          }
        },
        {
          "pilltype": "22aefcfee646960d63450aaf62e861821c8e7a498a646411a372b995",
          "result": {
            "reason": "CONFLICTING_OFFICIAL_PRODUCT_RECORDS",
            "recordVariantCount": 2,
            "status": "AMBIGUOUS"
          }
        }
      ],
      "MATCHED": [
        {
          "pilltype": "00093-0928-06_6926B4E5",
          "result": {
            "matchScope": "PACKAGE_NDC",
            "metadata": {
              "activeIngredients": [
                {
                  "name": "LOVASTATIN",
                  "strength": "40 mg/1"
                }
              ],
              "brandName": "Lovastatin",
              "dailyMedUrls": [
                "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=0e15feec-d27e-4861-8152-c5a8b8ccacd4"
              ],
              "displayName": "Lovastatin",
              "dosageForm": "TABLET",
              "genericName": "Lovastatin",
              "labelerName": "Teva Pharmaceuticals USA, Inc.",
              "labelerRole": "FDA_LISTING_LABELER_NOT_NECESSARILY_MANUFACTURER",
              "marketingCategories": [
                "ANDA"
              ],
              "marketingEndDates": [
                ""
              ],
              "marketingStartDates": [
                "20011217"
              ],
              "officialProductIds": [
                "0093-0928_caf8172a-311b-447a-8c8b-e9d70c23c8e8"
              ],
              "officialProductNdcs": [
                "0093-0928"
              ],
              "routes": [
                "ORAL"
              ],
              "sourceUrl": "https://api.fda.gov/drug/ndc.json?search=product_ndc%3A%220093-0928%22&limit=100",
              "splIds": [
                "caf8172a-311b-447a-8c8b-e9d70c23c8e8"
              ],
              "splSetIds": [
                "0e15feec-d27e-4861-8152-c5a8b8ccacd4"
              ]
            },
            "packageConfirmed": true,
            "status": "MATCHED"
          }
        },
        {
          "pilltype": "47335-0894-81_7F1DBFBD",
          "result": {
            "matchScope": "PACKAGE_NDC",
            "metadata": {
              "activeIngredients": [
                {
                  "name": "CLOPIDOGREL BISULFATE",
                  "strength": "75 mg/1"
                }
              ],
              "brandName": "Clopidogrel Bisulfate",
              "dailyMedUrls": [
                "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=d37db064-3a5a-4a0c-a60b-b4b417fe742a"
              ],
              "displayName": "Clopidogrel Bisulfate",
              "dosageForm": "TABLET, FILM COATED",
              "genericName": "Clopidogrel Bisulfate",
              "labelerName": "Sun Pharmaceutical Industries, Inc.",
              "labelerRole": "FDA_LISTING_LABELER_NOT_NECESSARILY_MANUFACTURER",
              "marketingCategories": [
                "ANDA"
              ],
              "marketingEndDates": [
                ""
              ],
              "marketingStartDates": [
                "20120518"
              ],
              "officialProductIds": [
                "47335-894_2de2d0fb-68e7-4a22-8da8-be7658468f15"
              ],
              "officialProductNdcs": [
                "47335-894"
              ],
              "routes": [
                "ORAL"
              ],
              "sourceUrl": "https://api.fda.gov/drug/ndc.json?search=product_ndc%3A%2247335-894%22&limit=100",
              "splIds": [
                "2de2d0fb-68e7-4a22-8da8-be7658468f15"
              ],
              "splSetIds": [
                "d37db064-3a5a-4a0c-a60b-b4b417fe742a"
              ]
            },
            "packageConfirmed": true,
            "status": "MATCHED"
          }
        },
        {
          "pilltype": "00555-0572-35_1B2B8DCC",
          "result": {
            "matchScope": "PACKAGE_NDC",
            "metadata": {
              "activeIngredients": [
                {
                  "name": "METHOTREXATE SODIUM",
                  "strength": "2.5 mg/1"
                }
              ],
              "brandName": "Methotrexate",
              "dailyMedUrls": [
                "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=9b34b1d8-d125-41a2-9f6f-3fab67b573bd"
              ],
              "displayName": "Methotrexate",
              "dosageForm": "TABLET",
              "genericName": "Methotrexate",
              "labelerName": "Teva Pharmaceuticals USA, Inc.",
              "labelerRole": "FDA_LISTING_LABELER_NOT_NECESSARILY_MANUFACTURER",
              "marketingCategories": [
                "ANDA"
              ],
              "marketingEndDates": [
                ""
              ],
              "marketingStartDates": [
                "19901101"
              ],
              "officialProductIds": [
                "0555-0572_9c7cf5a6-e720-4e83-bb08-f371e9bb9c9e"
              ],
              "officialProductNdcs": [
                "0555-0572"
              ],
              "routes": [
                "ORAL"
              ],
              "sourceUrl": "https://api.fda.gov/drug/ndc.json?search=product_ndc%3A%220555-0572%22&limit=100",
              "splIds": [
                "9c7cf5a6-e720-4e83-bb08-f371e9bb9c9e"
              ],
              "splSetIds": [
                "9b34b1d8-d125-41a2-9f6f-3fab67b573bd"
              ]
            },
            "packageConfirmed": true,
            "status": "MATCHED"
          }
        }
      ],
      "UNMAPPED": [
        {
          "pilltype": "51285-0092-87_BE305F72",
          "result": {
            "reason": "PRODUCT_NOT_IN_SNAPSHOT_OR_CATALOG",
            "status": "UNMAPPED"
          }
        },
        {
          "pilltype": "00093-0148-01_4629A34D",
          "result": {
            "reason": "PRODUCT_NOT_IN_SNAPSHOT_OR_CATALOG",
            "status": "UNMAPPED"
          }
        },
        {
          "pilltype": "00093-7248-06_7829BC3D",
          "result": {
            "reason": "PRODUCT_NOT_IN_SNAPSHOT_OR_CATALOG",
            "status": "UNMAPPED"
          }
        }
      ]
    },
    "modelBytes": 2136724,
    "modelSha256": "f8c00138c95c9392f0d6c4ddd010cd86c1c59971e57086eac1c95714bc25a7a9",
    "source": {
      "allLabelsSha256": "022c9f0a530c70d0eef9674cd5e47e1f5424c2380fb6a8d5cf83f28740c16d7b",
      "builderSha256": "52ca57fa6c5f71b6ea38265f73bdb3e5db54b72ef94460e3f770562689bcfcc0",
      "bytes": 28247165,
      "downloadIndexSha256": "2d03a416ea09a76582f6106520e0cb30ee3651051f95f4bd3f8f398b2fa7d65a",
      "expectedRecords": 138372,
      "exportDate": "2026-11-13",
      "imageCatalogueSha256": "431e52c68b2e4cb27be159f6331e210f4d685e133fbfec04a1c6c1e643c37a16",
      "networkDataRequests": 2,
      "retrievedAtUtc": "2026-11-16T04:38:52.302345+00:00",
      "sha256": "c0003088c84e48ff807f183045687fd34b615ebce4571be13bad5fbf1f7cc7ad",
      "url": "https://download.open.fda.gov/drug/ndc/drug-ndc-0001-of-0001.json.zip",
      "zipMembers": [
        {
          "bytes": 247025280,
          "name": "drug-ndc-0001-of-0001.json"
        }
      ]
    },
    "summary": {
      "ambiguous": 50,
      "embeddedNdcPillTypes": 1000,
      "filenameNdcPillTypes": 3902,
      "imageToCurrentProductIdentityEstablished": false,
      "matched": 1172,
      "officialRecords": 138372,
      "packageMatched": 310,
      "pillTypes": 4902,
      "productOnlyMatched": 862,
      "uniqueProductCodes": 4826,
      "unmapped": 3680,
      "unsupportedOfficialPackageCodeCount": 0,
      "unsupportedOfficialProductCodeCount": 0
    }
  },
  "metrics": [
    {
      "labelEn": "End-to-end Top-5",
      "labelKo": "실제 입력 처리 포함 상위 5개",
      "scopeEn": "Includes 2 quality abstentions; 4,902 candidates",
      "scopeKo": "품질 보류 2장 포함, 4,902품목 후보",
      "value": "585/745 (78.52%)"
    },
    {
      "labelEn": "Dual-branch Top-5",
      "labelKo": "이중 분기 모델 상위 5개",
      "scopeEn": "Top-1 42.42% (316/745), before quality abstention",
      "scopeKo": "Top-1 42.42% (316/745), 품질 보류 적용 전",
      "value": "587/745 (78.79%)"
    },
    {
      "labelEn": "Previous full-catalogue baseline",
      "labelKo": "기존 전체 카탈로그 기준",
      "scopeEn": "Same 4,902 candidates",
      "scopeKo": "동일 4,902품목 후보",
      "value": "145/745 (19.46%)"
    }
  ],
  "scopeEn": "Search 4,902 available ePillID reference types.",
  "scopeKo": "확보한 ePillID 4,902품목 참조 사진을 검색합니다.",
  "sourceUrls": [
    "https://github.com/usuyama/ePillID-benchmark"
  ]
}
