internetarchive / internetarchive/openlibrary
Fix records with wrong ASIN/BWBID as a result of import api bug
Open
Affects: Data
Data Cleanup
Lead: @cdrini
Module: Import
Priority: 3
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
For some amount of time, the import endpoint has been incorrectly matching a book on `source_record` alone. This means that if no better data (eg isbn) was available, it would match _any_ item in the same bwb palette when we import promise items.
Here's an example of a bad edit: https://openlibrary.org/books/OL30383M/Departures?_compare=Compare&b=15&a=14&m=diff
- The ASIN point to other books!
- In this case we were lucky and it added another BWB SKU to `local_ids`. But it sometimes overwrites the field :( Either way it's wrong and will lead to incorrect matches when partners try to search by BWB SKU
Contributor guide
Assessment
This issue has not been assessed yet.