MCPcopy Index your code
hub / github.com/evalplus/evalplus / table_print

Function table_print

evalplus/evalperf.py:102–112  ·  view source on GitHub ↗
(table_name: str, kv: Dict)

Source from the content-addressed store, hash-verified

100
101
102def table_print(table_name: str, kv: Dict):
103 table = Table(
104 title=table_name,
105 show_header=True,
106 header_style="bold",
107 )
108 for col_name in kv:
109 table.add_column(col_name)
110
111 table.add_row(*[str(v) for v in kv.values()])
112 rich.print(table)
113
114
115def correctness_worker(task_id: str, samples: list, ctask: Dict, expected_output: Dict):

Callers 2

perf_workerFunction · 0.85
scriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected