diff options
author | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-09-01 13:10:50 +0200 |
---|---|---|
committer | Niclas Dobbertin <niclas.dobbertin@mailbox.org> | 2024-09-01 13:10:50 +0200 |
commit | 60df194c8b72c9d47d1bc490b4c4c296ac234e8e (patch) | |
tree | 85c7f233d35b974b1388e9ca3d9958c8e360f041 /modeling | |
parent | 347d3c943462a73c35c9d246c4970833d96180bf (diff) |
update
Diffstat (limited to 'modeling')
-rw-r--r-- | modeling/prod_numbers.py | 8 | ||||
-rw-r--r-- | 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") |