text: **Keywords:**active inference; free energy principle; predictive processing; Markov decision 
  process; cognitive modelling; Julia 
  Academic Editor: Astero Provata 
  
  **PACS:**87.15.Aa  Received: 25 October 2024 
  Revised: 2 January 2025 
  Accepted: 7 January 2025 