Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternScience/SciReason
/ to_float
Function
to_float
opencompass/summarizers/multi_model.py:36–40 ·
view source on GitHub ↗
(text: str)
Source
from the content-addressed store, hash-verified
34
35
36
def
to_float(text: str):
37
try
:
38
return
float(text)
39
except
ValueError:
40
return
0
41
42
43
def
is_section_row(row: List[str]) -> bool:
Callers
3
average_rows
Function · 0.85
create_win_row
Function · 0.85
highlight
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected