The Cross-Context Threshold Test: Detecting Discrimination Under Environmental Shifts

the-cross-context-threshold-test:-detecting-discrimination-under-environmental-shifts

The Cross-Context Threshold Test: Detecting Discrimination Under Environmental Shifts

[Submitted on 20 Nov 2026]

View PDF HTML (experimental)

Abstract:We study how threshold tests for detecting discrimination under environmental shifts, focusing on the Veil-of-Darkness (VoD) setting where visibility changes between daylight and darkness. We show that standard threshold tests, when applied separately to daylight and darkness data, violate key assumptions: risk distributions drift across contexts and thresholds fluctuate arbitrarily. We propose a cross-context threshold test that enforces distributional invariance and monotonic threshold decay. Using New York City stop-and-frisk data and synthetic experiments, we demonstrate that this model yields more reliable thresholds, improves bias detection, and aligns with the counterfactual logic of the VoD test. Our framework generalizes to fairness auditing whenever environmental context influences decisions.

Submission history

From: Jun Yuan [view email]
[v1] Fri, 20 Nov 2026 19:45:55 UTC (466 KB)