MCPcopy Create free account
hub / github.com/diillson/chatcli / TestComplexityScore_TrivialTask

Function TestComplexityScore_TrivialTask

cli/agent/quality/plan_test.go:133–137  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

131}
132
133func TestComplexityScore_TrivialTask(t *testing.T) {
134 if s := ComplexityScore("read main.go"); s > 3 {
135 t.Errorf("trivial task scored too high: %d", s)
136 }
137}
138
139func TestComplexityScore_MultiActionMultiFileExceedsThreshold(t *testing.T) {
140 task := "update auth.go and add tests/auth_test.go then run go test"

Callers

nothing calls this directly

Calls 2

ComplexityScoreFunction · 0.85
ErrorfMethod · 0.80

Tested by

no test coverage detected