✨ Let PENPOT_GEN_HISTORIES set how long composable programs get

Generated component programs have up to 40 chunks of operations. Runs
that look for bugs needing longer histories can raise that bound with
PENPOT_GEN_HISTORIES, read like PENPOT_GEN_NUM and PENPOT_GEN_SEED; the
default is unchanged.

Harness only; the benchmark is not run.

AI-assisted-by: claude-opus-5-5
This commit is contained in:
alonso.torres 2026-11-06 02:21:49 +01:00
parent dfa7e63147
commit b57569c3e4

View File

@ -90,7 +90,9 @@
[bindings & body]
`(tp/for-all ~bindings ~@body))
(defn- environment-number
(defn environment-number
"The positive integer the environment variable `name` holds (any integer
for PENPOT_GEN_SEED), or nil when it is not set."
[name]
(when-let [value #?(:clj (System/getenv name)
:cljs (some-> js/globalThis .-process .-env (aget name)))]