Skip to content

Codify the storage mechanics for experiment results - #5

Merged
undfined merged 56 commits into
mainfrom
undfined/fast-follow
Jan 28, 2026
Merged

undfined merged 56 commits into
mainfrom
undfined/fast-follow

Conversation

@undfined

@undfined undfined commented Jan 26, 2026 •

Copy link
Copy Markdown
Contributor

Adds a Postgres backend for storing eval results and a CLI to query them.

What's New

Storage

  • Postgres schema with experiments, task_results, and instance_predictions tables
  • Alembic migrations
  • Repository pattern for data access
  • Stores instance-level predictions alongside aggregate metrics

Results CLI (olmo-eval results query)

  • Query by experiment, model, or task
  • Comparison matrix for multi-model/task queries
  • --instances flag to pull instance-level predictions
  • Table, JSON, and CSV output formats

Performance

  • Keyset pagination (--after-id) instead of offset - way faster for large datasets (100K+ rows)
  • Streaming iterator for exports
  • Indexes for common query patterns
  • JSON output includes last_id and has_more for easy pagination

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