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

Function TestClassifyTaskCoding

pkg/governor/intelligence_test.go:54–67  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

52}
53
54func TestClassifyTaskCoding(t *testing.T) {
55 cases := []string{
56 "write a function to sort the list",
57 "debug this code",
58 "implement a binary search algorithm",
59 "fix the bug in the api endpoint",
60 }
61 for _, q := range cases {
62 tt := ClassifyTask(q)
63 if tt != TaskCoding {
64 t.Errorf("expected coding for %q, got %s", q, tt)
65 }
66 }
67}
68
69func TestClassifyTaskMultiStep(t *testing.T) {
70 cases := []string{

Callers

nothing calls this directly

Calls 1

ClassifyTaskFunction · 0.85

Tested by

no test coverage detected