From 60df194c8b72c9d47d1bc490b4c4c296ac234e8e Mon Sep 17 00:00:00 2001 From: Niclas Dobbertin Date: Sun, 1 Sep 2024 13:10:50 +0200 Subject: update --- modeling/prod_numbers.py | 8 ++++---- modeling/productions_math.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modeling/prod_numbers.py b/modeling/prod_numbers.py index 5115f30..965bcd9 100644 --- a/modeling/prod_numbers.py +++ b/modeling/prod_numbers.py @@ -110,7 +110,7 @@ def number(Model): hundreds_ans ~busy ones_ans =ones tens_ans =tens - hundreds_ans =huns + hundreds_ans =hunds ?retrieval> state free ==> @@ -121,7 +121,7 @@ def number(Model): isa number ones =ones tens =tens - hundreds =huns + hundreds =hunds """ ) prods.append(number_contract_result) @@ -135,13 +135,13 @@ def number(Model): result None ones_ans =ones tens_ans =tens - hundreds_ans =huns + hundreds_ans =hundreds =retrieval> isa number number =num ones =ones tens =tens - hundreds =huns + hundreds =hundreds ==> =g> isa math_goal diff --git a/modeling/productions_math.py b/modeling/productions_math.py index e740ae3..a3f6b02 100644 --- a/modeling/productions_math.py +++ b/modeling/productions_math.py @@ -52,8 +52,8 @@ def start(): # op, arg1, arg2 = wait_input() Model, DM, goal, imaginal, env = init() # Model.model_parameters["subsymbolic"] = True - # Model.model_parameters["production_compilation"] = True - # Model.model_parameters["utility_learning"] = True + Model.model_parameters["production_compilation"] = True + Model.model_parameters["utility_learning"] = True # add_goal(goal, op, arg1, arg2) add_proc(goal, "next_proc") -- cgit v1.2.3