Skip to content

fix(viewer): export evaluation set links to canonical test_set.jsonl and Inference capitalise - #135

Merged
AaronAspinwall123 merged 2 commits into
mainfrom
aaspinwall/issue-103-seeds-download
May 29, 2026
Merged

fix(viewer): export evaluation set links to canonical test_set.jsonl and Inference capitalise#135
AaronAspinwall123 merged 2 commits into
mainfrom
aaspinwall/issue-103-seeds-download

Conversation

@AaronAspinwall123

Copy link
Copy Markdown
Collaborator

The Export evaluation set button on the suite page linked to /api/download/{suite}/seeds.jsonl. The catch-all download handler enforces a basename allowlist and seeds.jsonl is not on it, so every click returned 403 and no file ever reached the user. The legacy seeds.jsonl artifact was also renamed to test_set.jsonl long ago by scripts/migrate_artifacts_to_pr23_vocab.py; the button never got the memo.

Point the anchor at the canonical test_set.jsonl (already in ALLOWED_FILES) and pin both filenames via the HTML download attribute. Add tests/test_viewer_export_evaluation_set.py that asserts (a) the button URL matches an allowlisted basename, (b) test_set.jsonl stays in the allowlist, (c) the legacy seeds.jsonl name never reappears in the allowlist.

Fixes #103.

AaronAspinwall123 and others added 2 commits May 28, 2026 18:34
The `Export evaluation set` button on the suite page linked to `/api/download/{suite}/seeds.jsonl`. The catch-all download handler enforces a basename allowlist and `seeds.jsonl` is not on it, so every click returned 403 and no file ever reached the user. The legacy `seeds.jsonl` artifact was also renamed to `test_set.jsonl` long ago by scripts/migrate_artifacts_to_pr23_vocab.py; the button never got the memo.

Point the anchor at the canonical `test_set.jsonl` (already in ALLOWED_FILES) and pin both filenames via the HTML `download` attribute. Add tests/test_viewer_export_evaluation_set.py that asserts (a) the button URL matches an allowlisted basename, (b) test_set.jsonl stays in the allowlist, (c) the legacy `seeds.jsonl` name never reappears in the allowlist.

Fixes #103.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
RUN_STAGE_LABELS mapped a stale stage key 'rollout' to 'Inference', but real manifests emit 'inference', so the pipeline panel rendered the raw lowercase label while 'Scoring' next to it was capitalized. Update the label and tooltip keys to match what the runner actually writes to manifest.stages.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AaronAspinwall123 AaronAspinwall123 changed the title fix(viewer): export evaluation set links to canonical test_set.jsonl fix(viewer): export evaluation set links to canonical test_set.jsonl and Inference capitalise May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export evaluation set doesn't complete download

2 participants