The results viewer formats -0 and non-finite values like Python, survives
engines without toFixed(100), and shows an error when readAsText throws. CSV
export writes an empty metric name as `metric:` and orders columns by name
across all rows. StudyConfig rejects `metrics: []` at parse. The evaluator logs
the position_ids fallback and matches more rejection wordings, runs in eval
mode (restoring module modes afterwards), and handles left padding in
classification. Preset getters return deep copies.
Fixes#666
Codex review r1 for #620: the CLI --preset now replaces whichever preset key
the YAML uses and an unknown preset is a clear error; directly constructed
studies resolve omitted metrics from the model task in __post_init__ (explicit
lists unchanged); preset strategies and metrics are copied on apply so parsed
studies don't share mutable state. README narrowed; loader behaviour for a
checkpoint without label metadata is pinned by tests.
Apply `run --preset` before StudyConfig requires `strategies`, and default
omitted classification metrics to accuracy/F1, also on the preset path.
Causal perplexity no longer scores targets preceded by padding and passes
mask-derived position_ids for left-padded batches, so batch size no longer
changes results. Classifier loading keeps the checkpoint's label count unless
num_labels is given.
Fixes#608Fixes#610Fixes#609Fixes#614
DiskSnapshot admitted six largest-tensor copies against a fixed 1 GiB
default, so any model with a tensor over ~179 MB (e.g. a large-vocabulary
embedding) could not create a restore point regardless of free memory.
staging_bytes now defaults to None, which admits half of currently
available host memory (DEFAULT_STAGING_HOST_FRACTION). Explicit values keep
their existing hard-cap semantics, min(staging_bytes, available). Rejection
stays fail-closed and names required bytes, admitted bytes, the budget
source and the snapshot.staging_bytes / staging_bytes= knob.
Closes#269
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>