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

Function TestClassifyTaskMultiStep

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

Source from the content-addressed store, hash-verified

67}
68
69func TestClassifyTaskMultiStep(t *testing.T) {
70 cases := []string{
71 "first find the repo and then list its issues",
72 "search for the user, and then compare their repos, and finally summarize",
73 "find the repo, extract stars, fetch issues, and summarize the results",
74 }
75 for _, q := range cases {
76 tt := ClassifyTask(q)
77 if tt != TaskMultiStep {
78 t.Errorf("expected multi_step for %q, got %s", q, tt)
79 }
80 }
81}
82
83func TestClassifyTaskGeneral(t *testing.T) {
84 tt := ClassifyTask("hello there")

Callers

nothing calls this directly

Calls 1

ClassifyTaskFunction · 0.85

Tested by

no test coverage detected