Skip to content

Support env var overrides and fix DummyViewer hang#117

Draft
jbragg wants to merge 3 commits into
mainfrom
env-var-dataset-overrides
Draft

Support env var overrides and fix DummyViewer hang#117
jbragg wants to merge 3 commits into
mainfrom
env-var-dataset-overrides

Conversation

@jbragg

@jbragg jbragg commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add env var overrides for dataset paths (SUBMISSION_DATASET, RESULTS_DATASET, LEADERBOARD_PATH) to enable local development with custom HF datasets
  • Fix UI hang when DummyViewer is returned (error case) - now returns empty DataFrame immediately instead of trying to transform error data
  • Add unit tests for get_full_leaderboard_data function
  • Update CI to run unit tests alongside integration tests

Test plan

  • Unit tests pass locally
  • Verified leaderboard UI works with dev datasets via Playwright

Related to: allenai/astabench-issues#483

Allows SUBMISSION_DATASET, RESULTS_DATASET, LEADERBOARD_PATH, and
CONTACT_DATASET to be set via environment variables for dev/testing
purposes without modifying the code.
Add early return for DummyViewer in get_full_leaderboard_data to
prevent transformation of error DataFrames which caused hanging.

Add unit tests and update CI to run them.
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.

1 participant