Commit a09cc41f authored by Albert Jiang's avatar Albert Jiang
Browse files

remove an unnecessary print

parent 32612dc6
...@@ -67,7 +67,7 @@ class Math(Task): ...@@ -67,7 +67,7 @@ class Math(Task):
def parse_description(self, description): def parse_description(self, description):
"""description is a string with comma-separated key=value tuples """description is a string with comma-separated key=value tuples
e.g.: e.g.:
"majority_voting=32,sampling_temperature=1.0" "majority_voting=32,sampling_temperature=0.3"
""" """
parsed_dict = {} parsed_dict = {}
for term in description.split(","): for term in description.split(","):
...@@ -125,7 +125,7 @@ class Math(Task): ...@@ -125,7 +125,7 @@ class Math(Task):
answer = self.majority_vote(results[0]) answer = self.majority_vote(results[0])
else: else:
raise AssertionError raise AssertionError
print(answer)
if self.is_equiv( if self.is_equiv(
answer, self.remove_boxed(self.last_boxed_only_string(doc["solution"])) answer, self.remove_boxed(self.last_boxed_only_string(doc["solution"]))
): ):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment