Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search benchmark #362

Merged
merged 2 commits into from
May 22, 2024
Merged

Search benchmark #362

merged 2 commits into from
May 22, 2024

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented May 22, 2024

Add a benchmark we can run against a running environment to check that search is working as we expect.

#357

The first test checks searching for a few datasets by title, including some with underscores (see #324)

The second test checks for duplicate results with the same title. This does not yet pass, but we can enable it when we've sorted out the CaDeT ingestion.

To run: pytest tests/benchmarks

Test that simple queries return the expected result in position 1.
This establishes the baseline behaviour that users should be able to
retrieve datasets by searching for their title.

These tests are skipped in CI for now.
@MatMoore MatMoore merged commit 3f85e63 into main May 22, 2024
3 of 4 checks passed
@MatMoore MatMoore deleted the search-benchmark branch May 22, 2024 15:21
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.

2 participants