>>> import opendp.prelude as dp
>>> dp.enable_features("contrib")
>>> threshold = 23
>>> space = dp.atom_domain(T=float, nan=False), dp.absolute_distance(T=float)
>>> # For demonstration purposes-- construct a measurement that releases
>>> # a tuple with a differentially private score and value.
>>> # The tuple released must satisfy the privacy guarantee from the map.
>>> import numpy as np
>>> m_mock = space >> dp.m.then_user_measurement(
>>> m_private_selection = dp.c.make_select_private_candidate(
>>> score, candidate = m_private_selection(20)
>>> assert score >= threshold
>>> assert m_private_selection.map(1) == 2 * m_mock.map(1)
>>> assert isinstance(candidate, str)