MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / planFor

Function planFor

graph-ui/src/compiler/prompt-contract.test.ts:21–25  ·  view source on GitHub ↗
(question: string, modelName = 'Qwen3.5-2B')

Source from the content-addressed store, hash-verified

19import { FAKE_ROOT, fakeSource } from './__fixtures__/fake-source';
20
21async function planFor(question: string, modelName = 'Qwen3.5-2B') {
22 const packet = await compileFacts(fakeSource(), FAKE_ROOT, question);
23 const cards = compileCards(packet, { budget: cardBudgetOf('A') });
24 return buildPrompt({ question, klass: packet.klass, cards, modelName });
25}
26
27describe('the system prompt', () => {
28 it('points at the cards for the shape instead of demonstrating it', () => {

Callers 1

Calls 5

compileFactsFunction · 0.90
fakeSourceFunction · 0.90
compileCardsFunction · 0.90
cardBudgetOfFunction · 0.90
buildPromptFunction · 0.90

Tested by

no test coverage detected