MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / done

Function done

scripts/rubi/benchmark.ts:202–212  ·  view source on GitHub ↗
(
    outcome: Outcome,
    extra: Partial<ProblemResult> = {}
  )

Source from the content-addressed store, hash-verified

200 return { re: (4 * d2.re - d1.re) / 3, im: (4 * d2.im - d1.im) / 3 };
201}
202
203function runProblem(
204 p: Problem,
205 seed: number,
206 rubi?: { ce: ComputeEngine; driver: RubiDriver }
207): ProblemResult {
208 const start = Date.now();
209 const done = (
210 outcome: Outcome,
211 extra: Partial<ProblemResult> = {}
212 ): ProblemResult => ({
213 file: p.file,
214 index: p.index,
215 source: p.source,

Callers 1

runProblemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected