MCPcopy Create free account
hub / github.com/DataArcTech/ToG / clean_results

Function clean_results

eval/utils.py:106–113  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

104 return "{" in string
105
106def clean_results(string):
107 if "{" in string:
108 start = string.find("{") + 1
109 end = string.find("}")
110 content = string[start:end]
111 return content
112 else:
113 return "NULL"
114
115
116def check_refuse(string):

Callers 1

eval.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected