MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / string_int_check

Function string_int_check

scripts/lcb_runner/evaluation/testing_util.py:75–76  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

73
74
75def string_int_check(val):
76 return isinstance(val, str) and val.isdigit()
77
78
79def combined_int_check(val):

Callers 1

combined_int_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected