Expand description
Parameter sweeps and searches over Henad models, and the folders of results they write.
A sweep plans a spec against a model and runs every planned run. A search runs a spec’s [search] table a batch of
candidates at a time. On native, sweep::run_spec runs either and blocks until it ends, and sweep::plan_spec
plans and probes one without running it. handle::SweepRun runs one beside a host’s frame loop, on its own
thread on native and pumped from the frames in a browser. spec_file reads and writes the TOML form of a spec.
A sweep writes manifest.json, runs.csv, series.csv and summary.csv to a folder or to memory, and a search
writes its own tables beside them. merge::merge joins the folders of a sweep’s shards, and
result_set::ResultSet reads a folder back. benchmark times a model’s step loop, and testing holds the
checks that a model’s tests run against its entry.
Modules§
- benchmark
Non-WebAssembly - Benchmarks that time repetitions of one model’s step loop, reporting each repetition as it finishes. Native only.
- cursor
- Run cursors, each holding one CPU run of a sweep from its build to its
RunOutcome. - device
Non-WebAssembly - A GPU device acquired with no window or surface.
- exec
- Executors for batches of runs, with each outcome committed to a sink in request order.
- handle
- Handles on sweeps and searches that run beside a host’s frame loop, with the same API on every target.
- merge
- Merges of shard directories into one directory, holding the files one sweep of the whole plan would have written.
- output
- Output directories of a sweep, and the writer that streams each finished run into a directory.
- probe
- Probe builds of a model, made before a sweep to fix its stat columns and measure the footprint of a run.
- progress
- Progress of a sweep or search, reported to the host as events.
- result_
set - Results of a sweep or search read back from its files, for a host to show and replay.
- schema
- A model’s parameters, stats and actions as JSON, for tools that build sweeps from outside.
- search_
run - Searches that run a spec’s
[search]table against a model, a batch of candidates at a time. - spec_
file - Spec files, the TOML form of a sweep spec.
- sweep
- Sweeps that plan a spec against a model, run every planned run and write the results to a directory or to memory.
- testing
testing - Checks of a model entry’s contracts, for a model’s own tests.
Constants§
- ENGINE_
BUILD - Henad’s own build, stamped by henad-explore’s build script over the engine’s crates.