hara.seedgen.metrics
Stable JSON records used by XTBench CI and the documentation dashboard.
aggregate-records
added in 4.1
(aggregate-records workflow records)(aggregate-records workflow records context)combines per-job records into a workflow run record
history-entry
added in 4.1
(history-entry path record)returns the compact entry stored in index.json
merge-directory!
added in 4.1
(merge-directory! input-dir output-dir workflow)aggregates JSON job artifacts and updates a metrics branch directory
test-record
added in 4.1
(test-record selector langs {:keys [generated summary failures errored spec]})creates a JSON-safe XTBench result record
update-index
added in 4.1
(update-index index path record)(update-index index path record limit)adds a workflow record to an index and retains the newest entries
write-error-record!
added in 4.1
(write-error-record! path selector langs error)writes a failed record when seed generation aborts unexpectedly
write-json!
added in 4.1
(write-json! path value)writes pretty JSON, creating its parent directory
write-test-record!
added in 4.1
(write-test-record! path selector langs result)writes one seedgen test result to disk