print("You have entered an invalid state. We anticipated the correct step to be: ",tutorEqn,"\nPlease continue solving the problem with the corrected equation.")
# need to print what correct state would have been
user.equation=tutorEqn
user.get_input()
goal.set(user.state)
...
...
@@ -248,12 +250,11 @@ class IntelligentTutor(ACTR):
classEmptyEnvironment(ccm.Model):
pass
defmain():
env_name=EmptyEnvironment()
agent_name=IntelligentTutor()
env_name.agent=agent_name
ccm.log_everything(env_name)
env_name.agent=agent_name
#ccm.log_everything(env_name) # log statement, uncomment if you want to log information