audit_temporal_leakage: Audit temporal leakage in a feature provenance table

View source: R/077-negative-controls-leakage-0-9.R

audit_temporal_leakageR Documentation

Audit temporal leakage in a feature provenance table

Description

Leakage here means information becoming available after the declared outcome boundary. It is a data/analysis property and is not an allegation of misconduct.

Usage

audit_temporal_leakage(provenance, allow_equal = TRUE, tolerance = 0)

Arguments

provenance

Output of [process_feature_time_provenance()] or compatible table.

allow_equal

Whether features available exactly at outcome time are allowed.

tolerance

Numeric tolerance in the provenance time unit.

Value

A named list with components "status", "n_features", "n_flagged", "flagged_fraction", "detail", "interpretation", containing temporal leakage in a feature provenance table and associated metadata or diagnostics.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.