clojure-babashka · task · 18 runs · 2 models
builtin-fetch
Diagnoses a JVM-only HTTP dependency in a task runner as missing from the runtime and replaces it with the built-in client.
Reading A pass needs the answer to name the built-in Babashka HTTP client (
babashka.http-client or its http-kit polyfill) or a pod as the replacement for the JVM library.Task prompt
Our deploy job runs the repo's fetch task and fails with Could not locate clj_http/client...; the same namespace works when the code runs under the JVM test alias. What is the cause, and how should the task make this HTTP request on this runtime?
answer /(?i)babashka\.http-client|babashka\.http|org\.http-?kit|http-?kit|(?:built-?in|pod)[^\n]{0,60}(?:http|client)|(?:http|client)[^\n]{0,60}(?:built-?in|pod)/
By model
| Model | Verdict | No skill | With skill | Passed when read | With prompt |
|---|---|---|---|---|---|
| local/qwen3.8-27b | works when loaded | 2/3 runs66.7% | 3/3 runs100% | 3/3 runs100% | 3/3 runs100% |
| openrouter/deepseek-v4.1-flash-1017 | no measured effect | 3/3 runs100% | 3/3 runs100% | 1/1 run100% | 3/3 runs100% |
Every ratio counts runs, not tasks. With skill counts every run where the skill was available; Passed when read appears only when some runs did not open SKILL.md and counts only the runs that did.
Check pass rate · completed runs
| Check | No skill | With skill | Passed when read | With prompt |
|---|---|---|---|---|
| Answer | 5/6 runs83.3% | 6/6 runs100% | 4/4 runs100% | 6/6 runs100% |
All 18 runs
Checks: B behavior · G gate · A answer · S style · F files. Green = pass, red = fail. Diff opens the model's fixture edits.
local/qwen3.8-27b · default · 9 runs
| # | Arm | Read | Result | Checks | Diff |
|---|---|---|---|---|---|
| 1 | No skill | — | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 2 | No skill | — | FAIL | A | Diff · 1 file · +2 −1@@ -1,3 +1,4 @@ -{:paths ["src"] +{:deps {clj-http/clj-http {:mvn/version "0.14.2"}} + :paths ["src"] :tasks {fetch {:doc "Fetch the status page and print its code" :exec-fn app.fetch/status}}} |
| 3 | No skill | — | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 1 | With skill | read | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 2 | With skill | read | PASS | A | Diff · 1 file · +4 −2@@ -1,6 +1,8 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] + (let [r (http/get "https://example.com" + {:throw false + :timeout 10000})] (println (:status r)))) |
| 3 | With skill | read | PASS | A | Diff · 1 file · +2 −2@@ -1,6 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] + (let [r (http/get "https://example.com" {:throw false :timeout 10000})] (println (:status r)))) |
| 1 | With prompt | injected | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 2 | With prompt | injected | PASS | A | Diff · 1 file · +3 −3@@ -1,6 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] - (println (:status r)))) + (let [{:keys [status]} (http/get "https://example.com" {:timeout 10000})] + (println status))) |
| 3 | With prompt | injected | PASS | A | — |
openrouter/deepseek-v4.1-flash-1017 · default · 9 runs
| # | Arm | Read | Result | Checks | Diff |
|---|---|---|---|---|---|
| 1 | No skill | — | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 2 | No skill | — | PASS | A | Diff · 1 file · +2 −1@@ -1,5 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + #?(:bb (:require [babashka.http-client :as http]) + :clj (:require [clj-http.client :as http]))) (defn status [_] (let [r (http/get "https://example.com")] |
| 3 | No skill | — | PASS | A | Diff · 1 file · +2 −1@@ -1,5 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require #?(:bb [babashka.http-client :as http] + :clj [clj-http.client :as http]))) (defn status [_] (let [r (http/get "https://example.com")] |
| 1 | With skill | not read | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 2 | With skill | read | PASS | A | Diff · 1 file · +2 −2@@ -1,6 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] + (let [r (http/get "https://example.com" {:timeout 10000})] (println (:status r)))) |
| 3 | With skill | not read | PASS | A | Diff · 1 file · +1 −1@@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |
| 1 | With prompt | injected | PASS | A | Diff · 1 file · +2 −2@@ -1,6 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] + (let [r (http/get "https://example.com" {:throw false})] (println (:status r)))) |
| 2 | With prompt | injected | PASS | A | Diff · 1 file · +2 −2@@ -1,6 +1,6 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] - (let [r (http/get "https://example.com")] + (let [r (http/get "https://example.com" {:throw false :timeout 10000})] (println (:status r)))) |
| 3 | With prompt | injected | PASS | A | Diff · 2 files · +2 −1@@ -1,3 +1,4 @@ {:paths ["src"] + :min-bb-version "1.1.171" :tasks {fetch {:doc "Fetch the status page and print its code" :exec-fn app.fetch/status}}} @@ -1,5 +1,5 @@ (ns app.fetch - (:require [clj-http.client :as http])) + (:require [babashka.http-client :as http])) (defn status [_] (let [r (http/get "https://example.com")] |