Skip to content

Commit

Permalink
add gt url for clustered runbook
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha-simhadri committed Jul 12, 2023
1 parent b55c505 commit 644409b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/streaming/compute_gt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from benchmark.streaming.load_runbook import load_runbook

def get_range_start_end(entry):
return np.arange(entry['start']-1, entry['end'], dtype=np.uint32)
return np.arange(entry['start'], entry['end'], dtype=np.uint32)

def get_next_set(ids: np.ndarray, entry):
match entry['operation']:
Expand Down
2 changes: 1 addition & 1 deletion data_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def cleaned_run_metric(run_metrics):
print(f"Looking at track:{track}, dataset:{dataset_name}")
dataset = DATASETS[dataset_name]()
if track == 'streaming':
for runbook_path in ['neurips23/streaming/simple_runbook.yaml']:
for runbook_path in ['neurips23/streaming/simple_runbook.yaml', 'neurips23/streaming/clustered_runbook.yaml']:
results = load_all_results(dataset_name, neurips23track=track, runbook_path=runbook_path)
run_metrics = compute_metrics_all_runs(dataset, dataset_name, results, args.recompute, \
args.sensors, args.search_times, args.private_query, \
Expand Down
2 changes: 2 additions & 0 deletions neurips23/streaming/clustered_runbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ random-xs-clustered:
end: 10000
64:
operation: "search"
gt_url: "https://comp21storage.blob.core.windows.net/publiccontainer/comp23/clustered_data/random-xs-clustered/clustered_runboook.yaml/"
msturing-10M-clustered:
1:
operation: "insert"
Expand Down Expand Up @@ -384,3 +385,4 @@ msturing-10M-clustered:
end: 10000000
64:
operation: "search"
gt_url: "https://comp21storage.blob.core.windows.net/publiccontainer/comp23/clustered_data/msturing-10M-clustered/clustered_runboook.yaml/"

0 comments on commit 644409b

Please sign in to comment.