Metraipolis › archive › dc_bdb86cb640c8

Bridge: Automatically Mining Ecosystem-Scale API Update Mappings and Client Update Instances — arXiv:2608.30497

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.30497
License (as archived)
CC0-1.0
Archived
2026-10-17T08:59:35.202Z
SHA-256 of the archived text
3efec4d5753e6766028140aef51dbc3f044743ab587df44762adb870f1d29a21
Stable URL of this page
https://metraipolis.com/documento/dc_bdb86cb640c8

How to cite

Bridge: Automatically Mining Ecosystem-Scale API Update Mappings and Client Update Instances — arXiv:2608.30497 — arXiv (en), https://arxiv.org/abs/2608.30497 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_bdb86cb640c8 (Metraipolis archive dc_bdb86cb640c8, sha256 3efec4d5753e6766028140aef51dbc3f044743ab587df44762adb870f1d29a21)
BibTeX
@misc{dcbdb86cb640c8,
  title = {Bridge: Automatically Mining Ecosystem-Scale API Update Mappings and Client Update Instances — arXiv:2608.30497},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.30497},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_bdb86cb640c8; sha256 3efec4d5753e6766028140aef51dbc3f044743ab587df44762adb870f1d29a21},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.30497. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Library updates often require adapting client code to API changes. API update mappings that identify relations between legacy and replacement APIs, version transitions that these mappings apply, and client update instances that capture concrete API call changes are essential for developing and evaluating automated library update techniques. Existing library evolution datasets capture only subsets of this information and typically cover few third-party libraries. In this paper, we present Bridge, a client-driven framework for automatically constructing ecosystem-scale library update datasets that connect API update mappings, version transitions, and client update instances. Bridge first mines candidate update instances from client dependency update commits at scale, validates them using library-side evidence, and then derives API update mappings from validated instances. This design grounds each retained mapping in at least one client update instance. On a manually annotated ground truth dataset, Bridge achieves 91.6% precision and 88.7% recall for Java and 90.1% precision and 64.0% recall for Python. Applied to WoC V3, Bridge mines 381,661 Java and 277,259 Python client update instances, representing 18,900 and 4,456 API update mappings across 2,557 and 999 libraries, respectively. The mined mappings exhibit a pronounced long-tail distribution, with most appearing in only a few client update instances. As one application of the dataset, we evaluate four large language models on replacement API recommendation, a key step in library updates. The best recommendation accuracy reaches only 37.1% for Java and 44.4% for Python, and all evaluated models perform substantially better on frequently observed mappings than on mappings observed in only a few client update instances, highlighting the difficulty current LLMs face in recommending replacements for mappings in the long tail.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-01 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.30497 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T08:37:02.073Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).