Metraipolis › archive › dc_7e26d8da94a8

WFDB-x: Conformance-Tested Implementations of the WFDB Software Package in Seven Programming Languages — arXiv:2611.01358

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.01358
License (as archived)
CC0-1.0
Archived
2026-11-03T18:31:04.048Z
SHA-256 of the archived text
9d2b9f936c98c24bcdffb11eb8300751062d372d2d3d29c8ecaa4584e8de37f5
Stable URL of this page
https://metraipolis.com/documento/dc_7e26d8da94a8

How to cite

WFDB-x: Conformance-Tested Implementations of the WFDB Software Package in Seven Programming Languages — arXiv:2611.01358 — arXiv (en), https://arxiv.org/abs/2611.01358 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7e26d8da94a8 (Metraipolis archive dc_7e26d8da94a8, sha256 9d2b9f936c98c24bcdffb11eb8300751062d372d2d3d29c8ecaa4584e8de37f5)
BibTeX
@misc{dc7e26d8da94a8,
  title = {WFDB-x: Conformance-Tested Implementations of the WFDB Software Package in Seven Programming Languages — arXiv:2611.01358},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.01358},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7e26d8da94a8; sha256 9d2b9f936c98c24bcdffb11eb8300751062d372d2d3d29c8ecaa4584e8de37f5},
  year = {2026}
}

Archived text

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

The WFDB format is widely used to store and exchange physiological waveforms and annotations. However, existing software implementations are limited to C, Python, and MATLAB/Octave, can produce different results in corner cases and checksum calculations, and have defaults such as sampling frequency and gain, that can lead to silent misinterpretation of recordings. We developed WFDB-x, a cross-language, performance-optimized reimplementation of WFDB in seven programming languages, with extensive unit tests, to provide consistent WFDB processing across programming languages. We reimplemented the WFDB Software Package 10.7.0 natively in Python, C++, Rust, Julia, R, MATLAB/Octave, and Kotlin, using AI-assistance under human direction and review. Each implementation has library functions, a high-level interface, and command-line tools. We compared their outputs with those of the original C programs using 1098 conformance cases, 877 legacy-mode cases, unit tests, and differential fuzzing. Deliberate changes remove implicit waveform parameters, restrict file and network access, and prevent annotation loss. A legacy mode retains the original behavior. All seven implementations passed every conformance and legacy-mode case on the tested Linux platform, with matching outputs. The unit tests contain 9353 assertions. C++, Rust, and Julia read records 1.5-6.9 times faster than the original C library, while the Python implementation wrote records 9.2 times faster than the existing wfdb-python library in the benchmark. WFDB-x provides a tested, open-source basis for reading and writing physiological recordings consistently across seven languages, supporting reproducible research and software development without requiring a shared programming environment. We also share details of the AI-assisted development process and token utilization, which may be useful for other applications.

Tema degli esploratori: ricerca e scienza aperta (elenco arXiv cs.DL, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Digital Libraries (cs.DL); Programming Languages (cs.PL).
Pagina del lavoro: https://arxiv.org/abs/2611.01358 — 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-11-03T18:11:52.738Z dalla pagina https://arxiv.org/list/cs.DL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).