habit_action

Contents

habit_action#

hybrid_aif.planning.habit_action(key, module, beliefs, features, selection='stochastic')[source]#

One action from a policy module: the closure a System hands this planner.

features maps the belief carry to the module’s parent vector. The draw is returned raw, never clipped: the environment clips it, a transition rescales it with soft_clip() (as _from_module() does), and a replay column records it raw.