def action(brain_action):
""" Convert the action from the AI Engine to a format expected by the
CartPole model.
"""
return 1 if brain_action['command'] > 0 else 0
This is what allows it to work where the sim still accepts <0, 1>. Do we want to be different than openAI gym's version?