Contextual inference through flexible integration of environmental features and behavioural outcomes. - Passlack J; MacAskill AF (PLoS computational biology, 2026)