Commit Graph
4 Commits
Author SHA1 Message Date
Joseph Magly 7f999505f0 test(release): restore touched-module coverage and raise the Quality depth timeout to 60 min
Adds focused tests for the lines the release run left uncovered in
evaluation/evaluator.py, recipes/search.py, recipes/search_cli.py and
study_presets.py after #676/#677, so touched-module line and branch coverage
is back at or above the comparison base (run 45690313651). Raises the Quality
depth job timeout from 45 to 60 minutes; the 85% mutation floor and every
other threshold are unchanged.

Refs #679
2026-11-25 16:13:34 -05:00
Joseph Magly 76bb612871 fix(evaluation): keep padding-offset positions, train() restore, warn once, read-only presets
Section B of #675: skip left-padding position_ids for models that number positions from padding_idx+1 (RoBERTa/XLM-R/CamemBERT-style); restore modes via train(mode) for modules that override it; log the position_ids fallback warning once per model; STUDY_PRESETS is a read-only mapping returning copies; README explains metrics null vs omitted with a preset.

Refs #675
2026-11-25 13:33:13 -05:00
Joseph Magly 2a0abae1f8 fix(viewer,evaluator,presets): close #661/#663 review follow-ups
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
2026-11-25 09:59:06 -05:00
pliny 66ea4a6f86 Add files via upload 2026-03-05 00:50:44 -08:00