MCPcopy Create free account
hub / github.com/anomalyco/opencode-bench / loadExport

Function loadExport

scripts/discord-sample.ts:256–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254];
255
256function loadExport(): EvaluationRunExport[] {
257 const inputPath = process.argv[2];
258 if (!inputPath) {
259 return sampleExport;
260 }
261
262 const raw = readFileSync(inputPath, "utf8");
263
264 return JSON.parse(raw);
265}
266
267function toEvalSummaries(exportData: EvaluationRunExport[]): EvalSummary[] {
268 const evalMap = new Map<string, ModelSummary[]>();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected