Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanmai committed Jan 29, 2025
1 parent 4f9d414 commit 51bb0c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/helm/benchmark/run_specs/sql_run_specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def get_bird_sql_dev_run_spec() -> RunSpec:
groups=["bird_sql"],
)


@run_spec_function("spider")
def get_spider_run_spec() -> RunSpec:
scenario_spec = ScenarioSpec(class_name="helm.benchmark.scenarios.spider_scenario.SpiderScenario")
Expand Down
5 changes: 4 additions & 1 deletion src/helm/benchmark/scenarios/spider_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ class SpiderScenario(Scenario):
def get_instances(self, output_path: str) -> List[Instance]:
data_parent_path = os.path.join(output_path, "data")
ensure_file_downloaded(
"https://drive.google.com/uc?id=1403EGqzIDoHMdQF4c9Bkyl7dZLZ5Wt6J&export=download&confirm=t", data_parent_path, unpack=True, unpack_type="unzip"
"https://drive.google.com/uc?id=1403EGqzIDoHMdQF4c9Bkyl7dZLZ5Wt6J&export=download&confirm=t",
data_parent_path,
unpack=True,
unpack_type="unzip",
)
data_root_path = os.path.join(data_parent_path, "spider_data")
# databases_unzip_target = os.path.join(data_root_path, "unzipped_dev_databases")
Expand Down

0 comments on commit 51bb0c0

Please sign in to comment.