summaryrefslogtreecommitdiff
path: root/modeling/prod_comp.py
diff options
context:
space:
mode:
authorNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-09-01 17:29:19 +0200
committerNiclas Dobbertin <niclas.dobbertin@mailbox.org>2024-09-01 17:29:19 +0200
commit7c1d45b574de33dafcd93b251fc089acff313292 (patch)
tree9817f1faab381cd71c3c7ad26086851577ae6fde /modeling/prod_comp.py
parent60df194c8b72c9d47d1bc490b4c4c296ac234e8e (diff)
fix retrieval checks
Diffstat (limited to 'modeling/prod_comp.py')
-rw-r--r--modeling/prod_comp.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/modeling/prod_comp.py b/modeling/prod_comp.py
index 84ae370..3b675ec 100644
--- a/modeling/prod_comp.py
+++ b/modeling/prod_comp.py
@@ -43,6 +43,7 @@ def greater_than(Model):
hundreds_ans =hun1
tens_ans =ten1
ones_ans =one1
+ ~retrieval>
""",
)
prods.append(arg1_greater)
@@ -63,6 +64,7 @@ def greater_than(Model):
hundreds_ans =hun2
tens_ans =ten2
ones_ans =one2
+ ~retrieval>
""",
)
prods.append(arg2_greater)
@@ -79,6 +81,7 @@ def greater_than(Model):
hundreds_ans None
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal
@@ -104,6 +107,7 @@ def greater_than(Model):
tens2 =ten2
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal
@@ -130,6 +134,7 @@ def greater_than(Model):
ones2 =one2
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal
@@ -319,6 +324,7 @@ def lesser_than(Model):
hundreds_ans =hun1
tens_ans =ten1
ones_ans =one1
+ ~retrieval>
""",
)
prods.append(arg1_lesser)
@@ -339,6 +345,7 @@ def lesser_than(Model):
hundreds_ans =hun2
tens_ans =ten2
ones_ans =one2
+ ~retrieval>
""",
)
prods.append(arg2_lesser)
@@ -355,6 +362,7 @@ def lesser_than(Model):
hundreds_ans None
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal
@@ -380,6 +388,7 @@ def lesser_than(Model):
tens2 =ten2
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal
@@ -406,6 +415,7 @@ def lesser_than(Model):
ones2 =one2
?retrieval>
state free
+ buffer empty
==>
=g>
isa math_goal