MCPcopy Create free account
hub / github.com/atripati/ark / TestEnhanceSystemPromptCoding

Function TestEnhanceSystemPromptCoding

pkg/runtime/quality_test.go:136–142  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

134}
135
136func TestEnhanceSystemPromptCoding(t *testing.T) {
137 base := "You are an assistant."
138 result := EnhanceSystemPrompt(base, "coding")
139 if !strings.Contains(result, "minimal, correct code") {
140 t.Error("should add coding directives")
141 }
142}
143
144func TestEnhanceSystemPromptDefault(t *testing.T) {
145 base := "You are an assistant."

Callers

nothing calls this directly

Calls 2

EnhanceSystemPromptFunction · 0.85
ErrorMethod · 0.80

Tested by

no test coverage detected