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

remove older zillizcloud test results from leaderboard #399

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions vectordb_bench/results/getLeaderboardData.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import ujson
import pathlib
from vectordb_bench.backend.cases import CaseType
from vectordb_bench.backend.clients import DB
from vectordb_bench.frontend.config.dbPrices import DB_DBLABEL_TO_PRICE
from vectordb_bench.interface import benchMarkRunner
from vectordb_bench.models import ResultLabel, TestResult
Expand Down Expand Up @@ -45,6 +46,8 @@ def main():
for d in test_result.results
if d.task_config.case_config.case_id != CaseType.CapacityDim128
and d.task_config.case_config.case_id != CaseType.CapacityDim960
if d.task_config.db != DB.ZillizCloud
or test_result.timestamp >= datetime(2024, 1, 1).timestamp()
]

# compute qp$
Expand Down
2 changes: 1 addition & 1 deletion vectordb_bench/results/leaderboard.json

Large diffs are not rendered by default.