MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / judge

Function judge

bmtools/tools/meta_analysis/api.py:116–120  ·  view source on GitHub ↗
(pred)

Source from the content-addressed store, hash-verified

114 return ques
115
116def judge(pred):
117 if pred.find('No. ')>-1 or pred.find('No, ')>-1 or pred.find('are not')>-1 or pred.find('is not')>-1 or pred.find('does not')>-1 or pred.find('do not')>-1:
118 return 0
119 else:
120 return 1
121
122def check_doc(til, doc, ques):
123 string = ""

Callers 1

check_docFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected