MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / runParser

Function runParser

src/benchmarks/claude-ui/harness.ts:465–483  ·  view source on GitHub ↗
(
  artifacts: BenchmarkArtifacts,
  parserPath: string,
  toolAnalysis: ToolAnalysisConfig | undefined,
)

Source from the content-addressed store, hash-verified

463}
464
465async function runParser(
466 artifacts: BenchmarkArtifacts,
467 parserPath: string,
468 toolAnalysis: ToolAnalysisConfig | undefined,
469): Promise<number | null> {
470 const result = await runCommand({
471 command: 'python3',
472 args: [
473 parserPath,
474 artifacts.claudeJsonlPath,
475 artifacts.parsedDirectory,
476 ...parserToolArgs(toolAnalysis),
477 ],
478 cwd: repoRoot,
479 stdoutPath: artifacts.parseLogPath,
480 stderrPath: `${artifacts.parseLogPath}.stderr`,
481 });
482 return result.exitCode;
483}
484
485function normalizeStoredResult(result: BenchmarkResult): BenchmarkResult {
486 if (

Callers 1

runSuiteFunction · 0.85

Calls 2

parserToolArgsFunction · 0.90
runCommandFunction · 0.85

Tested by

no test coverage detected