Dataset for "Property-based Testing within ML Projects: an Empirical Study" (ICSME NIER 2024)

Dataset

Description

The dataset for the ICSME NIER 2024 paper "Property-based Testing within ML Projects: an Empirical Study".

Abstract

In property-based testing (PBT), developers specify properties that they expect the system under test to hold. The PBT tool generates random inputs for the system and tests for each of these inputs whether the given property holds. An advantage of this approach over testing a set of manually defined example inputs is that it enables a higher code coverage.

Machine learning (ML) projects, however, often have to process large amounts of diverse data, both for training a model and afterwards, when the trained model is deployed. Generating a sufficient amount of diverse data for the property-based tests is therefore challenging.

In this paper, we present the results of a preliminary study in which we examined a dataset of 58 open-source ML projects that have dependencies on the popular PBT library Hypothesis, to identify issues faced by developers writing property-based tests. For a subset of 28 open-source ML projects, we study the property-based tests in detail and report on the part of the ML project that is being tested as well as on the adopted data generation strategies. This way, we aim to identify issues in porting current PBT techniques to ML projects so that they can be addressed in the future.
Datum van beschikbaarheid31 aug 2024
UitgeverZenodo
Datum van data-aanmaak19 aug 2024

Format

  • Format

Citeer dit