MCPcopy Create free account
hub / github.com/Effect-TS/effect / conformanceFile

Function conformanceFile

packages/effect/src/chat/ChatTest.ts:1699–1703  ·  view source on GitHub ↗
(rule: string)

Source from the content-addressed store, hash-verified

1697}
1698
1699const conformanceFile = (rule: string): File => ({
1700 name: "conformance.txt",
1701 contentType: "text/plain",
1702 content: new TextEncoder().encode(conformanceText(rule) + " " + "x".repeat(64))
1703})
1704
1705const findIn = (messages: ReadonlyArray<ChatMessage.ChatMessage>, id: string) =>
1706 messages.find((message) => message.id === id)

Callers 2

probeMethod · 0.85
conformanceFunction · 0.85

Calls 2

conformanceTextFunction · 0.85
encodeMethod · 0.80

Tested by

no test coverage detected