User Guide: Inlist Bundles, .mod Files, Binary Photos & Data Caches¶
Upstream Fortran MESA workflows organize stellar evolution runs around hierarchical Fortran namelists (inlist files chained via read_extra_star_job_inlist(1..5) and read_extra_controls_inlist(1..5)), multi-stage ./rn shell scripts, ASCII .mod structure files, and binary photos/ checkpoint files. FlexMESA provides parsers, schema validators, and ASCII/binary I/O helpers (recording the active numerics_mode in LOGS/, .mod, and internal .photo headers). Strict runtime inlist loading fails loudly by default on unported control keys (#147; pass allow_unsupported_controls=True only for diagnostic runs), and FlexMESA .photo buffers (FMPHOTO2 v27 for StarModel and FMBINCP1 v3 for BinarySystem) are internal full-state checkpoints not binary-compatible with Fortran MESA photos/ (#150, #149, #152, #153, #155, #156, #159, #160, #161).
1. Parsing Recursive inlist Bundles and Validating Against .defaults¶
In Fortran MESA, a top-level inlist file often delegates shared settings to inlist_project, inlist_common, or stage-specific namelists via read_extra_star_job_inlist1 = .true. and extra_star_job_inlist1_name = '...'. FlexMESA provides two levels of namelist tooling:
- Recursive Bundle Resolution (
star.parse_inlist_bundle): Traverses the entryinlistand all nestedread_extra_*_inlist(1..5)files in upstream precedence order, failing loudly by default on unknown, unread, or unsupported controls unlessallow_unsupported_controls=Trueis passed, and returning a normalized Python dictionary of&star_joband&controlsparameters (initial_mass,initial_z,initial_y,create_pre_ms_model,load_saved_model,load_model_filename,save_model_when_terminate,save_model_filename,change_net,new_net_name,remove_initial_center_by_entropy,remove_center_by_entropy,remove_center_set_zero_v_center,remove_center_adjust_L_center,max_model_number,max_age,v_flag,u_flag,rti_flag,rotation_flag,rsp2_flag,okay_to_remesh,use_gold_tolerances,use_gold2_tolerances,op_split_burn,op_split_burn_min_t), together with 1-based array controls onMixWindControlsandTimestepStopControls(overshoot_scheme(1..16),overshoot_zone_type(1..16),overshoot_f(1..16),overshoot_f0(1..16),predictive_mix(1..16),predictive_superad_thresh(1..16),hard_limit_for_rel_error_in_energy_conservation, andmin_allowed_varcontrol_target). Keys inside&pgstar,&pgbinary, and&astero_pgstar_controls(pluspgstar_flag/pgbinary_flag) are validated against upstream.defaultsschemas so misspelled plotting keys still fail loudly while valid plotting keys execute as headless no-ops (matching upstreamUSE_PGSTAR = NO). - Typed Schema Validation (
schema.defaults,schema.namelist): Parses arbitrary.defaultsspecification files and validates raw&namelistblocks (&star_job,&controls,&eos,&kap,&binary_job,&binary_controls,&astero_search_controls), catching misspelled parameter names or invalid Fortran literal types (1.0d-4,.true., array subscriptsxa_central_lower_limit(1)) before a run starts.
import pathlib
import tempfile
from flexmesa import schema, star
# 1. Resolve a multi-file recursive MESA inlist bundle
with tempfile.TemporaryDirectory() as tmpdir:
root = pathlib.Path(tmpdir)
(root / "inlist").write_text(
"&star_job\n"
" read_extra_star_job_inlist1 = .true.\n"
" extra_star_job_inlist1_name = 'inlist_core'\n"
"/\n"
"&controls\n"
" read_extra_controls_inlist1 = .true.\n"
" extra_controls_inlist1_name = 'inlist_core'\n"
"/\n"
)
(root / "inlist_core").write_text(
"&star_job\n"
" change_net = .true.\n"
" new_net_name = 'approx21.net'\n"
" save_model_when_terminate = .true.\n"
" save_model_filename = 'tams.mod'\n"
"/\n"
"&controls\n"
" initial_mass = 2.5d0\n"
" initial_z = 0.014d0\n"
" max_model_number = 50\n"
"/\n"
)
bundle = star.parse_inlist_bundle(str(root / "inlist"))
print(
f"Resolved bundle: M={bundle['initial_mass']} Msun, Z={bundle['initial_z']}, "
f"net={bundle['new_net_name']!r}, save_to={bundle['save_model_filename']!r}"
)
# 2. Validate custom namelist assignments against a typed .defaults schema
defaults_spec = schema.defaults.parse_defaults_text("""
initial_mass = 1.0d0
initial_z = 0.02d0
mixing_length_alpha = 2.0d0
use_ledoux_criterion = .false.
""")
blocks = schema.namelist.parse_namelist_text("""
&controls
initial_mass = 3.0d0
mixing_length_alpha = 1.85d0
use_ledoux_criterion = .true.
/
""")
validated = schema.namelist.validate_namelist_block(blocks[0], defaults_spec)
print("Validated controls:", validated)
2. Executing Multi-Stage ./rn Test-Suite Scripts¶
Many upstream MESA test_suite cases chain multiple evolutionary stages inside a ./rn bash script using do_one <inlist> <final_mod> helper calls, where Stage 1 relaxes a pre-MS or ZAMS model and saves stage1.mod, and Stage 2 loads stage1.mod (load_saved_model = .true.) to evolve through helium burning or mass transfer.
star.parse_rn_stages extracts the ordered list of (stage_kind, inlist_name, output_mod) stages from a case directory (respecting MESA_SKIP_OPTIONAL conditional blocks when skip_optional=True), and star.run_test_suite_case executes multi-stage inlists with optional internal .photo round-trip checks and caller-supplied Python extras hooks (while canonical MESA 26.4.1 trajectory evaluation runs through flexmesa harness):
import pathlib
import tempfile
from flexmesa import star
with tempfile.TemporaryDirectory() as tmpdir:
case_dir = pathlib.Path(tmpdir) / "two_stage_case"
case_dir.mkdir()
# Stage 1: Evolve 1 Msun ZAMS for 2 steps and save stage1.mod
(case_dir / "inlist_stage1").write_text(
"&star_job\n"
" save_model_when_terminate = .true.\n"
" save_model_filename = 'stage1.mod'\n"
"/\n"
"&kap\n"
" zbase = 0.02d0\n"
"/\n"
"&controls\n"
" initial_mass = 1.0d0\n"
" initial_z = 0.02d0\n"
" max_model_number = 2\n"
"/\n"
)
# Stage 2: Load stage1.mod and evolve 2 additional steps
(case_dir / "inlist_stage2").write_text(
"&star_job\n"
" load_saved_model = .true.\n"
" load_model_filename = 'stage1.mod'\n"
" save_model_when_terminate = .true.\n"
" save_model_filename = 'final.mod'\n"
"/\n"
"&kap\n"
" zbase = 0.02d0\n"
"/\n"
"&controls\n"
" max_model_number = 4\n"
"/\n"
)
(case_dir / "rn").write_text(
"#!/usr/bin/env bash\n"
"do_one inlist_stage1 stage1.mod\n"
"do_one inlist_stage2 final.mod\n"
)
stages = star.parse_rn_stages(str(case_dir), skip_optional=True)
summary = star.run_test_suite_case(
str(case_dir),
skip_optional=True,
max_steps_per_stage=2,
verify_restart=True,
)
print(f"Stages parsed: {stages}")
print(
f"Case '{summary['case_name']}': total_steps={summary['total_steps']}, "
f"Newton_iters={summary['total_newton_iterations']}, "
f"photo_restart_verified={summary['photo_restart_verified']}"
)
3. ASCII .mod Files, LOGS/ History & Profile Output, and Binary photos/ Checkpoints¶
StarModel and the inlist stage runners support upstream MESA model, log, and checkpoint formats:
- Incremental
LOGS/History, Radial Profiles & Binary History (history.data,profileN.data,profiles.index,binary_history.data): In Rust (run_inlist_stage_with_logs,run_test_suite_case_with_logs,StarLogsWriter,run_binary_test_suite_case_with_logs,BinaryLogsWriter) and thestar_case_trace/binary_case_tracedrivers (plusStarModel.to_profile_str()in Python, which formats the 6-line-header MESAprofileN.datasnapshot), log emission honors&star_job(history_columns_file,profile_columns_file,write_profile_when_terminate,filename_for_profile_when_terminate,profile_starting_model),&controls(log_directory,star_history_name,star_history_header_name,history_interval,write_profiles_flag,profile_interval,priority_profile_interval,profile_data_header_suffix,max_num_profile_models,max_num_profile_zones,burn_min1,burn_min2,center_avg_value_dq,surface_avg_abundance_dq),&binary_job(binary_history_columns_file), and&binary_controls(log_directory,history_name,history_interval,append_to_star_history), flushing each recorded history row immediately and writingprofileN.databefore updatingprofiles.index. (The default Pythonrun_test_suite_casehelper runs in-memory without writingLOGS/unless invoked via the log-emitting Rust drivers.) - ASCII
.modFiles (to_mod_str,from_mod_str,write_mod_file,from_mod_file): The reader loads the network named in the file, looking first insearch_dir(forfrom_mod_file, the file's own directory) and then in the built-in network bundle, and places the abundance columns in that network's order, as upstreamread_modeldoes. Human-readable MESA model files storing header scalars (M/Msun,model_number,star_age,net_name,species,n_shells), per-zone structural variables (lnd,lnT,lnR,L,dq), and isotope mass fractions \(X_{i,k}\) formatted in scientific notation. Two.modfiles can be compared at exact file-byte level (byte_identical, exit0) and IEEE-754 binary64 bit precision (values_bit_identical, reporting value, structural, inline!core-value, and text/formatting diffs with exit2, or errors with exit1) viaflexmesa diff mod <a.mod> <b.mod> [--json-out PATH] [--allow-signed-zero]. - Internal Binary
photos/Checkpoints (to_photo_bytes,from_photo_bytes,verify_photo_restart): Deterministic little-endianserdebyte buffers (FMPHOTO2v27 forStarModel,FMBINCP1v3 forBinarySystem) storing primary, old, and start-of-step solver state arrays alongsidecontrols,job,rsp,BinaryStepCounters, retry/redo counters, and the activenumerics_modewire tag (strictorfast, rejecting mismatched modes on load) while skipping ephemeralMicrophysicsCachehit/miss counters.from_photo_bytes(bytes)restores serializedcontrolsandjob(read_photo_bytesoverrides them when requested), andverify_photo_restart(n_steps)verifies that checkpointing and restarting produces bit-identical continuation forn_stepsunder the samenumerics_mode.FlexMESA.photobytes remain internal and are not binary-compatible with Fortran MESAphotos/files (#150,#149,#152,#153,#155,#156,#159,#160,#161).
import pathlib
import tempfile
import numpy as np
from flexmesa import star
model = star.StarModel.from_zams(initial_mass=1.0, initial_z=0.02)
model.evolve(max_steps=2, use_bcyclic=True)
# 1. Round-trip through an ASCII .mod file (header does not store &kap::zbase)
mod_text = model.to_mod_str()
reloaded_mod = star.StarModel.from_mod_str(mod_text)
max_dlnt = float(np.max(np.abs(np.asarray(model.ln_t) - np.asarray(reloaded_mod.ln_t))))
with tempfile.TemporaryDirectory() as tmpdir:
mod_path = pathlib.Path(tmpdir) / "1m_evolved.mod"
model.write_mod_file(mod_path)
from_disk = star.StarModel.from_mod_file(mod_path)
# 2. Round-trip through a binary photo and check n_steps continuation state hashes
photo_bytes = model.to_photo_bytes()
restored_photo = star.StarModel.from_photo_bytes(photo_bytes, eval_hydro=True)
assert np.array_equal(np.asarray(model.ln_t), np.asarray(restored_photo.ln_t))
hash_cont, hash_rest = model.verify_photo_restart(n_steps=2)
print(
f"ASCII .mod max |d(lnT)| = {max_dlnt:.2e}, photo size = {len(photo_bytes)} bytes, "
f"restart state hashes: continuous={hash_cont:#x}, restored={hash_rest:#x}"
)
4. Managing Physics Data Bundles and .safetensors Tables (flexmesa.data)¶
Full-grid equation-of-state and opacity tables (helm_table_full.bin, kap_tables_full.bin, and 4D OPAL/SCvH/CMS/FreeEOS binaries) plus upstream MESA test inputs, module hex outputs, and full-column reference trajectories are distributed via the data-v1 release manifest (bundles.toml) and fetched on demand with flexmesa data fetch (or flexmesa data fetch --include-test-inputs). Within the unpacked mesa_histories (mesa-histories-v4) tree (runs/<suite>/<case>/), each case stores its full LOGS* and binary_history.data trajectories (stage_logs/part_NN_<inlist>/ for the 12 multi-stage star cases that share LOGS/, and 53-column tracks/track_NNNN.data for the 5 astero search cases), testhub.yml, command.txt, sanitized inlists/, declared outputs, and SHA-256 provenance assembled by scripts/mesa_reference/assemble_mesa_bundle.py. flexmesa data verify checks every unpacked file against per-file SHA-256 manifests (bundle_hashes/*.sha256.tsv) and rejects unexpected files inside the read-only $FLEXMESA_DATA_DIR directory, while runtime-derived spline caches live separately under $FLEXMESA_CACHE_DIR/v1 (FMCENV01 envelope, keyed by numerics_mode for 4D EOS slices, controllable via FLEXMESA_DISABLE_RUNTIME_CACHE=1 and flexmesa data clean-cache).
In addition, flexmesa.data stores custom tabulated physics payloads in 64-byte-aligned .safetensors files verified against SHA-256 digests in manifest.toml. You can inspect the built-in manifest, verify checksums, and round-trip custom float64 tensor bundles in memory or on disk:
import pathlib
import tempfile
import numpy as np
from flexmesa.data import loader, manifest
# 1. Inspect the default SHA-256 table manifest
default_tables = manifest.load_default_manifest()
for name, art in default_tables.items():
print(f"{name}: {art.filename} ({art.size_bytes} bytes, tensors={art.tensors})")
# 2. Save, SHA-256 verify, and memory-map a custom float64 .safetensors bundle
with tempfile.TemporaryDirectory() as tmpdir:
bundle_path = pathlib.Path(tmpdir) / "custom_table.safetensors"
tensors = {
"log_t_grid": np.linspace(3.5, 8.5, 51, dtype=np.float64),
"log_rho_grid": np.linspace(-8.0, 6.0, 29, dtype=np.float64),
}
sha256_hex = loader.save_safetensors_bundle(
bundle_path,
tensors,
metadata={"source": "FlexMESA tutorial", "units": "CGS"},
)
loaded = loader.load_safetensors_bundle(
bundle_path,
expected_sha256=sha256_hex,
required_tensors=("log_t_grid", "log_rho_grid"),
)
print(
f"Verified SHA-256={sha256_hex[:16]}..., "
f"loaded shapes={[v.shape for v in loaded.tensors.values()]}"
)
5. Incremental Trajectory Tracing and Harness Comparisons (flexmesa trace, flexmesa harness)¶
See Which Instrument for Which Symptom for a decision table covering history triage, solver step dumps (--compare), automated bisection (trace bisect), XTRA Jacobian diagnostics, routine record/replay, and module hex oracles.
To run any upstream star, binary, or astero test-suite case and stream MESA-formatted LOGS/history.data or binary_history.data rows on every accepted step (preserving partial trajectories if a wall-clock or memory guard stops the run), invoke flexmesa trace (strict inlist validation fails loudly on unsupported controls unless --allow-unsupported-controls is passed):
flexmesa trace star 1.3M_ms_high_Z --out ./run_out --timeout-sec 600 --max-rss-gb 6.0 --allow-unsupported-controls
flexmesa trace binary jdot_gr_check --out ./bin_out --timeout-sec 600 --max-rss-gb 6.0 --allow-unsupported-controls
flexmesa trace astero surface_effects --out ./astero_out --allow-unsupported-controls
Resolving a case by name reads the repository's benchmarks/history_harness/case_manifest.toml, which says whether the case starts from a model regenerated by MESA 26.4.1 in place of a shipped one (DECISIONS #93), so run these commands from a FlexMESA checkout or pass the case directory path instead of its name.
The astero search cases (fast_newuoa, fast_simplex, fast_scan_grid, fast_from_file and example_astero) take their search parameters and constraint values through the case's own set_param and set_constraint_value from run_star_extras.f90, which live in test-side extras. Trace them with --extras-factory tests.case_extras:resolve_case_extras; without it, the search stops with an error that names the missing hook.
Unmodified upstream inlists set controls that are not yet ported. Without --allow-unsupported-controls each command stops and prints the full list of unsupported controls. With the flag the same list is printed as a warning and the run continues past them, so the resulting trajectory is exploratory: the harness labels it a diagnostic run (notes/audit/case_table.md) and never counts it as an acceptance pass.
The v0.1.0 references are skip-optional runs: every stored MESA 26.4.1 reference run (histories, testhub.yml counters, stage step counts and wall times) was made with MESA_SKIP_OPTIONAL=t, so a multi-stage rn script skips its optional stages and the next stage starts from the shipped model the script names. The harness runs each case the same way (skip_optional=True). A case run with its optional stages has no reference to be judged against.
To regenerate the 106-case MESA 26.4.1 reference-availability table (notes/audit/case_table.md) or run guarded trajectory comparisons against benchmarks/history_harness/case_manifest.toml and benchmarks/history_harness/known_gaps.toml, invoke flexmesa harness. harness run runs each case under strict control validation first. When that run stops on unsupported controls, the harness runs the case again with those controls ignored and reports the second run in the Run Mode column as diagnostic (N controls ignored). A diagnostic run shows where the engine stands and can never give a pass verdict (DECISIONS #26). Keys that only gate or format MESA's terminal text, such as terminal_interval and trace_history_value_name, pass strict validation and have no effect, because FlexMESA does not print MESA's terminal log. Each uncapped strict run is also compared with the committed baseline run (benchmarks/history_harness/baseline_run_26_4_1.json, a regression snapshot of what FlexMESA did, not a MESA reference). --gate fails when a case that took steps now takes none, no longer reaches upstream's termination condition, or leaves the manifest tolerances; runs cut off by the time or memory budget are not judged. A change that makes a case worse on purpose updates the baseline for that case with --update-baseline (DECISIONS #27). Each finished case is also appended to progress.jsonl in the work directory, so a run that is cancelled part way still leaves what it measured:
flexmesa harness table --check
flexmesa harness run --preset pr-ci --markdown-out case_table.md --json-out case_table.json --gate
flexmesa harness run --cases star/1.3M_ms_high_Z --update-baseline benchmarks/history_harness/baseline_run_26_4_1.json
Two options shorten a full campaign. Strict mode is bit-identical across machines, so only outcomes cut off by a time or memory budget depend on the machine. --short-budget-sec S gives the cases whose baseline row ended on the time budget a budget of S seconds and every other case --timeout-sec. Such a run reproduces the start of the baseline trajectory unless the engine changed, so for those cases --gate fails only when the case takes no steps, ends (other than on upstream's termination condition) before the baseline's step count, or first leaves a track tolerance at an earlier model than the baseline. --update-baseline keeps their baseline row when they end on the short budget, and --save-baseline is refused because a candidate must record full-budget runs. --shard I/N runs one of N disjoint parts of the selected cases, and harness merge combines the shard reports into one case table, one baseline and one gate verdict (#389). The shards are packed by MESA 26.4.1's own wall time on each case (benchmarks/history_harness/case_timings.toml): a case that took MESA more than an hour gets a shard of its own, and the rest are packed longest first. Every shard report records the whole shard plan, so the cases of a shard that sent no report, and any case a shard did not start, are reported as untested: neither a pass nor a failure, kept at their committed rows by a baseline candidate, while the gate judges the rest (DECISIONS #90):
flexmesa harness run --preset all --numerics-mode strict --jobs 2 --timeout-sec 600 --short-budget-sec 120 --max-rss-gb 5.5 --markdown-out case_table.md --json-out case_table.json --update-baseline benchmarks/history_harness/baseline_run_26_4_1.json --gate
flexmesa harness run --preset all --shard 1/8 --step-cap-factor 1.5 --timeout-sec 3000 --deadline-sec 17100 --json-out shard_1.json
flexmesa harness merge shard_*.json --markdown-out case_table.md --json-out case_table.json --save-baseline baseline_candidate.json --gate
Three more options make a loop on a subset of cases cheaper without changing what a pass means (DECISIONS #69). --preset passes selects the cases whose committed baseline verdict is pass (--cases still overrides every preset). --preset canary narrows that to the passing cases whose projected wall time in benchmarks/history_harness/case_budgets.toml is at most --canary-max-sec (default 600 s). It is the set a train pull request re-runs before it merges, while the full campaign runs nightly on main (DECISIONS #81). --budget-from-baseline gives each case a wall-time budget of max(K x its recorded wall time, floor) capped at --timeout-sec, with K set by --budget-factor (default 2) and the floor by --budget-floor-sec (default 120 s). The committed baseline stores wall times as zero, so the recorded times come from a previous --json-out report given with --wall-times-json. --mesa-step-factor M also stops a case once its history reaches M times the step count of its MESA reference run. A case stopped by either bound is reported as inconclusive (timeout) and is checked as a prefix of its baseline row, as for any budget cut-off.
--early-stop-on-divergence is for fast loops and pass gates. While a star case runs, the harness checks its partial history every --early-stop-interval-sec seconds with the along-track tolerance test of the final comparison. As soon as a tracked column is out of tolerance the case cannot pass, so it is stopped and reported as fail (early stop) (or declared gap (#N) for a declared gap), with the column, the age and the model number where it left tolerance. The check only uses points that the final comparison also evaluates, so it never stops a case that the final comparison would pass; final-value tolerances are never used. An early-stopped case has a truncated history, so the option is refused with --update-baseline, --save-baseline and --max-steps:
flexmesa harness run --preset passes --budget-from-baseline --wall-times-json previous_report.json --jobs 2 --gate
flexmesa harness run --cases star/high_z star/hot_cool_wind --early-stop-on-divergence
Step counts are a fidelity signal of their own (DECISIONS #69, #70). scripts/mesa_reference/extract_stage_steps.py records MESA's model number at the end of every stage in benchmarks/history_harness/mesa_stage_steps.json, and a harness run reports FlexMESA's counts stage by stage (stage_steps, mesa_stage_steps and stage_step_deltas in the JSON row, and a "Step counts that differ from MESA" section in the case table). By default a pass whose steps differ is flagged and keeps its verdict; --enforce-step-counts makes it fail (step count), which relabels such passes, so it is meant to be switched on together with a baseline update. --stop-on-excess-steps (with --step-margin-abs and --step-margin-frac) stops a single-stage star case that runs past MESA's count plus a margin and reports fail (early stop); like --early-stop-on-divergence it is refused with --update-baseline, --save-baseline and --max-steps.
The scheduled campaign bounds each case by its step count rather than by a wall-clock budget (DECISIONS #90). --step-cap-factor F stops a case once the history it is writing records more than ceil(F x S) steps and reports fail (step overrun). The steps of a history are its last model number minus its first plus one, so a stage that starts from a loaded model with a high model number is not credited with the models before it. S is MESA's steps over the whole case, the sum over inlists of the steps counter of MESA's own testhub.yml (benchmarks/history_harness/mesa_testhub_26_4_1.json); the running stage is not known, so the cap is the case total. A run that has taken half again as many steps as MESA cannot match MESA's step count, so the outcome is a definitive failure rather than inconclusive (timeout). Against the baseline run an overrun, like an early stop, is compared as a prefix: --gate reports it when the baseline row was within the manifest tolerances, took steps where the overrun took none, or first left a track tolerance later than the overrun does. A case with a step cap has no wall-clock limit of its own. A case without a MESA reference cannot pass, so it runs as a smoke for at most --no-reference-timeout-sec (default 1800 s), is packed by that limit and is reported as no reference yet; any other case without a MESA step count (the zero-step artifact case star/rsp_check_2nd_crossing) keeps --timeout-sec. --deadline-sec D bounds the whole run: a case still running D seconds after the cases started is stopped as inconclusive (timeout) and a case not yet started is untested, so the report is written before an outer job limit ends the process; a diagnostic rerun gets only the time left. Each shard sets its own deadline, so harness merge keeps it per shard (shard_deadline_sec) instead of requiring the shards to agree. --step-cap-factor is not combined with --case-budgets, --short-budget-sec, --budget-from-baseline or --mesa-step-factor.
For every star stage it runs, the harness also records FlexMESA's run counters beside the block MESA wrote to testhub.yml for the same inlist (stage_counters in the JSON report, and a section of the case table; DECISIONS #94). model_number, num_retries, solver_calls_made and solver_iterations have the same definition on both sides (flexmesa.testing.testhub_counters cites each one); RSP stages report no solver_calls_made. MESA's steps, retries, redos and solver_calls_failed are shown from MESA's block alone, because FlexMESA keeps no counter with their definitions. --photo-restart-check records, for each case, the restart check upstream's test suite runs (each_test_run, check_restart: restart the last stage from the photo named in do1_test_source and require the final model to match byte for byte). FlexMESA's stage runner has no restart path yet, so every case upstream restarts is reported unsupported and nothing more is run. Per-Case Status History lists each case's verdict at each rebaseline of the committed baseline beside its wall times from case_timings.toml. The page is read from the git history of the baseline, and the dashboard refresh on main regenerates it after every merge; python scripts/docs/render_case_status_history.py needs a clone with full history and stops on a shallow one.
The wall times that --budget-from-baseline needs are zero in the committed baseline, so pass a report from a comparable machine to --wall-times-json; a harness --json-out file qualifies.