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

Function solved

test/compute-engine/fungrim-loader.test.ts:708–715  ·  view source on GitHub ↗
(eq: string, opts?: { solve: boolean })

Source from the content-addressed store, hash-verified

706 /^fungrim:([0-9a-f]{6}|[a-z][a-z0-9]*(-[a-z0-9]+)+):solve$/
707 );
708 expect(r.guards).toEqual([]);
709 // Root-template shape: match is `Add(…, __b)`, an Add of the inner
710 // function term(s) and the constant offset.
711 expect(Array.isArray(r.match) && (r.match as unknown[])[0]).toBe('Add');
712 }
713 // Default load skips them; {solve:true} routes them to ce.solveRules.
714 const ceDefault = new ComputeEngine();
715 expect(loadIdentities(ceDefault).byTarget.solve).toBe(0);
716
717 const ce = new ComputeEngine();
718 const report = loadIdentities(ce, { solve: true });

Callers 1

Calls 5

parseMethod · 0.95
loadIdentitiesFunction · 0.85
solveMethod · 0.65
mapMethod · 0.65
NMethod · 0.65

Tested by

no test coverage detected