MCPcopy Create free account
hub / github.com/SalesforceAIResearch/perfcodegen / __init__

Method __init__

src/evaluate.py:23–28  ·  view source on GitHub ↗
(self, dataset, output_file)

Source from the content-addressed store, hash-verified

21
22class Extractor(object):
23 def __init__(self, dataset, output_file) -> None:
24 self.dataset = Dataset(dataset, data_path = os.path.join("test_datasets/", dataset.replace("/", "_")))
25 self.output_file = output_file
26 self.outputs = json.load(open(self.output_file, "r"))
27
28 self.solutions = {}
29
30
31 def get_entrypoint(self, instance):

Callers

nothing calls this directly

Calls 1

DatasetClass · 0.90

Tested by

no test coverage detected