CtrlK
BlogDocsLog inGet started
Tessl Logo

juliusbrussee/caveman

Compressed caveman-style prose for AI coding agents — cuts ~65% output tokens while keeping full technical accuracy

96

1.00x
Quality

100%

Does it follow best practices?

Impact

96%

1.00x

Average score across 38 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-13/

Go Goroutine Leak

Problem

A Go HTTP server's goroutine count keeps growing. The handler spawns a goroutine per request to call an external API with a 10-second timeout, but some goroutines never finish.

func handler(w http.ResponseWriter, r *http.Request) {
    ch := make(chan string)
    go func() {
        resp := callExternalAPI()
        ch <- resp
    }()
    select {
    case result := <-ch:
        w.Write([]byte(result))
    case <-time.After(2 * time.Second):
        w.Write([]byte("timeout"))
    }
}

Why are goroutines leaking and how do you fix it?

evals

README.md

SKILL.md

tile.json