Benchmarks

Using the Set

Download a problem, run your control law on it, score the run with the published scorer, and report the result. Python with NumPy is all it takes; Hertzforge is not needed.

1. Get the Problems

Download the files of the MIMO Random suite, version 0.2, from doi.org/10.5281/zenodo.24310742. In one folder:

for f in problems-*.zip code-v0.2.zip; do unzip -q "$f"; done
shasum -a 256 -c MANIFEST.sha256

That gives problems/, one folder per problem, and code/: the reference model, the scorer, the problem maker and their tests. The code is also kept at github.com/Hertzforge/benchmarks. The scorer and the reference model need NumPy only.

2. Look at a Problem

A folder holds one draw of one structure, named by structure and seed, for example frame-12x6-realistic_s00. Every file is plain JSON or raw little-endian binary in SI units, and every file is listed with its SHA-256.

FileWhat It Holds
problem.jsonIdentity, stage and effects, the frequency grid, which gauges are controls and which are held out, the file table
structure.jsonThe modal model, and at stage 2 how each mode changes with level
reference_model.pyFrequency response, stress response, the level rule and a time stepper, in NumPy
target_line.c16The full spectral matrix at the control gauges, every cross term included
target_banded.jsonThe banded specification: band edges and each control gauge's band value
limits.jsonThe limits of a fair run: drive ceilings, identification, the level steps, the record
scoring/What only the scorer reads: the response in service, and the stress truth

Every field is described in FORMAT.md.

3. Run Your Control Law

A fair run treats the problem as a laboratory would treat the article:

  • The law learns the system only by identification, within the limits the problem sets, not from the model file.
  • It climbs the level steps to full level and runs closed loop with the noise the problem gives.
  • It never sees the held-out gauges or the stress. Those are for scoring.

Whatever runs the law, the run keeps what the scorer reads:

  • manifest.json: the grid, the law and its settings, the protections in force, and the outcome;
  • drive_sdm_played.c16: the spectral matrix of the drives as sent;
  • response_psd_played.f8: the spectrum of every gauge as read back, held-out gauges included;
  • at stage 2, response_moments_played.f8, from which the stress as tested is computed.

For six shakers that is a few megabytes, small enough to publish with the result. The worked example of the defining article writes a stage 1 run result and scores it with NumPy alone; its code is published with the article. It is a reference, not a fair entry.

With Hertzforge. The baselines were run by the research runner in Hertzforge's control crate, which plays a law through Hertzforge's real control service on its simulator and writes the run folder the scorer reads. Choosing a problem and a control law, your own included, from inside the Hertzforge app is being built.

4. Score the Run

python code/scorer.py score problems/frame-12x6-realistic_s00 RUN_FOLDER --target line --out scorecard.json

--target names the target the law was given: line for the full spectral matrix, banded for the banded specification. A run that stopped early is scored on what it recorded if that is at least 40 frames; earlier than that it has an outcome and no scores.

The scorecard is a JSON file: the identity of everything that went into it, the outcome, the six report-card lines, the stress block, the response spectra at the held-out gauges and, at stage 2, how far each mode moved. How to read one, and the baselines to set yours beside.

5. Report the Result

A reported result is listed beside the baselines. It says:

  • the suite, its version, the problems, their stage and the seeds;
  • the control law and its settings, enough for someone else to run it, and whether it kept the frequency response measured before the run or measured it again during the run;
  • whether the problem was run as published (a changed problem is a different experiment and is not listed);
  • how the law was developed against the set: which problems it was tuned on and which it had never seen;
  • its authors, and a link to the article or the code.

Send it as a pull request to the benchmark repository with the run folders and the scorecards. The scorer is run again on the files, and if the scores match, the result is listed. A law reported on stage 1 alone is listed as such.

A result is stronger with the method behind it. The Hertzforge Journal publishes articles on new control laws, negative results included, with their data and code. Using Hertzforge is not required.

6. Cite It

Cite the suite by its DOI:

Cross, Kevin. Hertzforge Open Benchmark Set: MIMO Random Suite, Version 0.2. Zenodo, 2026-11-17. https://doi.org/10.5281/zenodo.24310742

And a result by suite, version, problem and seed:

Hertzforge Open Benchmark Set, MIMO Random suite, version 0.2, problem frame-12x6-realistic/line, seed 0.

doi.org/10.5281/zenodo.24310741 always resolves to the latest version. Cite the version you used.