Join each request with the latest feature event at or before its timestamp. Never use information from the future.
Required APIdef point_in_time_join(events, requests):
return [{'id': ..., 'value': ...}, ...]BehaviorThink through the mechanism first if you want the extra reasoning step. It never blocks the editor.
point_in_time_join([{'entity': 'u', 'time': 1, 'value': 10}, {'entity': 'u', 'time': 3, 'value': 30}], [{'id': 'q', 'entity': 'u', 'time': 4}])the feature reflects the latest known state
point_in_time_join([{'entity': 'u', 'time': 5, 'value': 50}], [{'id': 'q', 'entity': 'u', 'time': 4}])future information cannot enter a historical row
2 hidden edge tests run after the visible contract passes.
Run Tests to see the contract verdicts here.