Saved in:
Bibliographic Details
Main Authors: Lefeuvre, Romain, Goasteller, Maïwenn Le, Galasso, Jessie, Combemale, Benoit, Perez, Quentin, Sahraoui, Houari
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.19316
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917393873240064
author Lefeuvre, Romain
Goasteller, Maïwenn Le
Galasso, Jessie
Combemale, Benoit
Perez, Quentin
Sahraoui, Houari
author_facet Lefeuvre, Romain
Goasteller, Maïwenn Le
Galasso, Jessie
Combemale, Benoit
Perez, Quentin
Sahraoui, Houari
contents Empirical software engineering research often depends on datasets of code repository artifacts, where sampling strategies are employed to enable large-scale analyses. The design and evaluation of these strategies are critical, as they directly influence the generalizability of research findings. However, sampling remains an underestimated aspect in software engineering research: we identify two main challenges related to (1) the design and representativeness of sampling approaches, and (2) the ability to reason about the implications of sampling decisions on generalizability. To address these challenges, we propose a Domain-Specific Language (DSL) to explicitly describe complex sampling strategies through composable sampling operators. This formalism supports both the specification and the reasoning about the generalizability of results based on the applied sampling strategies. We implement the DSL as a Python-based fluent API, and demonstrate how it facilitates representativeness reasoning using statistical indicators extracted from sampling workflows. We validate our approach through a case study of MSR papers involving code repository sampling. Our results show that the DSL can model the sampling strategies reported in recent literature.
format Preprint
id arxiv_https___arxiv_org_abs_2601_19316
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Modeling Sampling Workflows for Code Repositories
Lefeuvre, Romain
Goasteller, Maïwenn Le
Galasso, Jessie
Combemale, Benoit
Perez, Quentin
Sahraoui, Houari
Software Engineering
Empirical software engineering research often depends on datasets of code repository artifacts, where sampling strategies are employed to enable large-scale analyses. The design and evaluation of these strategies are critical, as they directly influence the generalizability of research findings. However, sampling remains an underestimated aspect in software engineering research: we identify two main challenges related to (1) the design and representativeness of sampling approaches, and (2) the ability to reason about the implications of sampling decisions on generalizability. To address these challenges, we propose a Domain-Specific Language (DSL) to explicitly describe complex sampling strategies through composable sampling operators. This formalism supports both the specification and the reasoning about the generalizability of results based on the applied sampling strategies. We implement the DSL as a Python-based fluent API, and demonstrate how it facilitates representativeness reasoning using statistical indicators extracted from sampling workflows. We validate our approach through a case study of MSR papers involving code repository sampling. Our results show that the DSL can model the sampling strategies reported in recent literature.
title Modeling Sampling Workflows for Code Repositories
topic Software Engineering
url https://arxiv.org/abs/2601.19316