Leaklens

instance_internetarchive__openlibrary-5de7de19211e71b29b2f2ba3b1dff2fe065d660f-v08d8e8889ec945ab821fb156c04c7d2e2810debb

Bug: Edition.from_isbn() does not recognize ASIN and fails identifier validation for edition retrieval

Verdict: the issue points to the file or function that was changed (Tier B).

In openlibrary/core/models.py, the Edition.from_isbn() method does not properly distinguish between ISBN and ASIN identifiers (Amazon codes that begin with "B"…

A third check settled an earlier disagreement. The text points to the exact place to change: “In openlibrary/core/models.py, the Edition.from_isbn() method does not properly distinguish between ISBN and ASIN identifiers (Amazon codes that begin with "B"…”

All SWE-Bench Pro V2 (public set) tasks · more internetarchive/openlibrary tasks · How the check works · Report a correction