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

Method save_solutions

src/evaluate.py:77–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75
76
77 def save_solutions(self):
78 filename = self.output_file.replace(".json", "_SOLUTIONS.json")
79 with open(filename, "w", encoding = "utf-8") as f:
80 f.write(json.dumps(self.solutions, sort_keys=True, indent=4, separators=(',', ': ')))
81
82
83

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected