You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vision tasks ship Ai2 Weka paths as source defaults #381
Per the convention from #153 / #276 (runner and task code should not carry Ai2 paths), three Weka literals in the vision family are tracked here for removal:
evals/vision/scoring/judges.py — the shared gpt4-cache default (follows DENSE_CAPTION_EVAL_DIR when set)
Interim state (landed with #317): the env vars are honored, and a missing data root fails fast with an error naming the variable, so a non-Ai2 run never silently reads a nonexistent path. The literals remain so Ai2 launches keep working without extra flags.
Options accepted on the earlier threads: (a) make the defaults None, require the env vars, and move the Weka values into the README / Beaker launch docs (or a launch config), or (b) mark the tasks internal. (a) is the likely path once the Beaker launcher can carry a per-suite env block so users don't have to pass three -e flags per launch.
Related non-determinism worth folding into this cleanup (found while re-verifying the split stack against main): CharxivJudgeScorer.cache_dir and MathVistaGptScorer.cache_dir default to a fresh tempfile.mkdtemp() per process, and Metric.to_dict serializes scorer instances with asdict, so the cache path enters the task hash. Two consecutive processes on the same tree:
Every run of those tasks therefore gets a unique task hash and artifact name. This is the same class as the DENSE_CAPTION_EVAL_DIR leak already fixed in #317 (scorer to_dict emitting only type/name/model), and it is tracked as a blocking item on #323, where those two scorers live — noting it here because the fix is the same shape as the path handling this issue covers.
Activity
Address review: hash-stable judge scorer, runner-side limit, fail-fas…
Address review: hash-stable judge scorer, runner-side limit, fail-fas…
Address review: hash-stable judge scorer, runner-side limit, fail-fas…
Address review: hash-stable judge scorer, runner-side limit, fail-fas…
jason718 commentedon Sep 19, 2026
Related non-determinism worth folding into this cleanup (found while re-verifying the split stack against
main):CharxivJudgeScorer.cache_dirandMathVistaGptScorer.cache_dirdefault to a freshtempfile.mkdtemp()per process, andMetric.to_dictserializes scorer instances withasdict, so the cache path enters the task hash. Two consecutive processes on the same tree:Every run of those tasks therefore gets a unique task hash and artifact name. This is the same class as the
DENSE_CAPTION_EVAL_DIRleak already fixed in #317 (scorerto_dictemitting onlytype/name/model), and it is tracked as a blocking item on #323, where those two scorers live — noting it here because the fix is the same shape as the path handling this issue covers.