Contextual inference through flexible integration of environmental features and behavioural outcomes. - Jessica Passlack; Andrew F. Macaskill (PLoS Comput. Biol., 2026)