MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / read_csv

Function read_csv

experiments/human_eval/aggregate_main_human_eval.py:17–19  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

15
16
17def read_csv(path: Path) -> List[Dict[str, str]]:
18 with path.open("r", encoding="utf-8-sig", newline="") as handle:
19 return list(csv.DictReader(handle))
20
21
22def write_csv(path: Path, rows: List[Dict[str, object]]) -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected