Skip to content

Commit

Permalink
remove older zillizcloud test results from leaderboard
Browse files Browse the repository at this point in the history
Signed-off-by: min.tian <[email protected]>
  • Loading branch information
alwayslove2013 authored and XuanYang-cn committed Nov 5, 2024
1 parent 20c513d commit 6a7127a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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.

0 comments on commit 6a7127a

Please sign in to comment.