harbor run -t scale-ai/hil-bench-sql_84-full_infoharbor download scale-ai/hil-bench-sql_84-full_infoYou are working in the formula_1 database.
Answer the following question: What is the average top speed for the most popular constructors across European races during the modern era of Formula 1? List each constructor name and their average speed, ordered by average speed from highest to lowest.
The following clarifications are provided to help you complete this task:
European races refer to races held at circuits located in Spain, UK, Italy, Monaco, Germany, Belgium, Hungary, France, Austria, Netherlands, and Portugal.
The modern era of Formula 1 refers to the period from 2014 onward (the turbo-hybrid era)
The most popular constructors are Ferrari, McLaren, Red Bull, Mercedes, Williams, and Renault. Filter using: c.name IN ('Ferrari', 'McLaren', 'Red Bull', 'Mercedes', 'Williams', 'Renault').
The fastestLapSpeed column in the results table records the fastest lap speed in km/h for each driver in a race. Compute the average top speed per constructor by averaging the fastestLapSpeed values from the results table grouped by constructor. Before averaging, exclude rows where fastestLapSpeed IS NULL OR fastestLapSpeed = '' OR fastestLapSpeed = '\N'
The following commands are installed in this terminal — run them directly from the shell. Only run ONE command per turn — each command blocks until the MCP server responds.
get_database_info formula_1 — list all tables and their descriptionsget_table_info formula_1 <table> — list columns and descriptions for a tableget_column_info formula_1 <table> <column> — get details for a specific columnget_business_info formula_1 "<question>" — semantic search over business documentationexecute_sql "<query>" — execute a SQL query against the databasesubmit_sql "<query>" — submit your final SQL answerWhen you are confident your SQL query is correct, call the submit_sql tool with your final query as the argument. If you do not call submit_sql, the task will be considered incomplete and scored as 0.