GENERIC DATA-QUALITY TOOLS FACING A POINT-IN-TIME DEFECT: AN EVALUATION OF DBT AND GREAT EXPECTATIONS USING TWIN DATASETS AND SURVIVORSHIP BIAS IN THE BRAZILIAN STOCK MARKET
DOI:
https://doi.org/10.51891/rease.v12i11.33390Keywords:
Data quality, Point-in-time correctness, Survivorship biasAbstract
A dataset may be free of apparent errors and still misrepresent the past, because it lacks records that existed on the date it claims to describe. This defect, called a point-in-time defect, has a known example in the context of survivorship bias. This study evaluates whether two data-quality tools, dbt and Great Expectations, detect this defect in their default configuration, under the hypothesis that they detect syntactic defects but not this one. A twin-dataset evaluation method is proposed and applied to the Brazilian stock market from 2010 to 2025: the correct dataset comprises the securities traded in each month, and the contaminated twin omits the securities of the companies that left the market by the end of 2025. In the default configuration, no dbt test detects the defect; in Great Expectations, only two combinations of check and parameters detect it, without indicating what is missing, so the hypothesis is not fully confirmed. When given the correct universe as a reference, the native checks of both tools detect the defect. It is concluded that passing generic checks does not guarantee that a dataset is free of survivorship bias.
Downloads
Downloads
Published
Issue
Section
Categories
License
Atribuição CC BY