MCPcopy Create free account
hub / github.com/InternScience/SciReason / is_section_row

Function is_section_row

opencompass/summarizers/multi_model.py:43–45  ·  view source on GitHub ↗
(row: List[str])

Source from the content-addressed store, hash-verified

41
42
43def is_section_row(row: List[str]) -> bool:
44 # ['ceval', '-', '-', '-', '-'],
45 return row[-1] == '-' and row[0][0] == '-'
46
47
48def average_rows(name, rows: List[List[str]]) -> List[str]:

Callers 2

create_section_rowFunction · 0.85
summarizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected