openhands openhands commited on
Commit
c56f232
Β·
1 Parent(s): 0db3899

Update category structure to OpenHands Index with 5 categories

Browse files

- Replace ASTA Bench scientific categories with OpenHands software engineering categories:
- Bug Fixing (SWE-Bench, SWE-Bench-Multimodal)
- App Creation (Commit0)
- Frontend Development (Multi-SWE-Bench)
- Test Generation (SWT-Bench)
- Information Gathering (GAIA)
- Update content.py category descriptions for coding agents
- Update app.py routes to use new category pages
- Add 5 new category page files
- Update category_page_builder.py diagram mappings
- Change 'four' to 'five' categories in intro
- Change 'scientific agents' to 'coding agents'

Co-authored-by: openhands <openhands@all-hands.dev>

app.py CHANGED
@@ -40,14 +40,16 @@ from content import css
40
  print("βœ“ css imported", file=sys.stderr)
41
  from main_page import build_page as build_main_page
42
  print("βœ“ main_page imported", file=sys.stderr)
43
- from literature_understanding import build_page as build_lit_page
44
- print("βœ“ literature_understanding imported", file=sys.stderr)
45
- from c_and_e import build_page as build_c_and_e_page
46
- print("βœ“ c_and_e imported", file=sys.stderr)
47
- from data_analysis import build_page as build_data_analysis_page
48
- print("βœ“ data_analysis imported", file=sys.stderr)
49
- from e2e import build_page as build_e2e_page
50
- print("βœ“ e2e imported", file=sys.stderr)
 
 
51
  from submission import build_page as build_submission_page
52
  print("βœ“ submission imported", file=sys.stderr)
53
  from about import build_page as build_about_page
@@ -278,35 +280,30 @@ with demo.route("Home", "/home"):
278
  build_main_page()
279
  print("βœ“ Home page built", file=sys.stderr)
280
 
281
- print("Building SWE-bench page route...", file=sys.stderr)
282
- with demo.route("SWE-bench", "/swe-bench"):
283
- build_lit_page()
284
- print("βœ“ SWE-bench page built", file=sys.stderr)
285
-
286
- print("Building Multi-SWE-bench page route...", file=sys.stderr)
287
- with demo.route("Multi-SWE-bench", "/multi-swe-bench"):
288
- build_c_and_e_page()
289
- print("βœ“ Multi-SWE-bench page built", file=sys.stderr)
290
-
291
- print("Building SWE-bench Multimodal page route...", file=sys.stderr)
292
- with demo.route("SWE-bench Multimodal", "/swe-bench-multimodal"):
293
- build_data_analysis_page()
294
- print("βœ“ SWE-bench Multimodal page built", file=sys.stderr)
295
-
296
- print("Building SWT-bench page route...", file=sys.stderr)
297
- with demo.route("SWT-bench", "/swt-bench"):
298
- build_e2e_page()
299
- print("βœ“ SWT-bench page built", file=sys.stderr)
300
-
301
- print("Building Commit0 page route...", file=sys.stderr)
302
- with demo.route("Commit0", "/commit0"):
303
- build_lit_page()
304
- print("βœ“ Commit0 page built", file=sys.stderr)
305
-
306
- print("Building GAIA page route...", file=sys.stderr)
307
- with demo.route("GAIA", "/gaia"):
308
- build_c_and_e_page()
309
- print("βœ“ GAIA page built", file=sys.stderr)
310
 
311
  print("Building About page route...", file=sys.stderr)
312
  with demo.route("About", "/about"):
 
40
  print("βœ“ css imported", file=sys.stderr)
41
  from main_page import build_page as build_main_page
42
  print("βœ“ main_page imported", file=sys.stderr)
43
+ from bug_fixing import build_page as build_bug_fixing_page
44
+ print("βœ“ bug_fixing imported", file=sys.stderr)
45
+ from app_creation import build_page as build_app_creation_page
46
+ print("βœ“ app_creation imported", file=sys.stderr)
47
+ from frontend_development import build_page as build_frontend_page
48
+ print("βœ“ frontend_development imported", file=sys.stderr)
49
+ from test_generation import build_page as build_test_generation_page
50
+ print("βœ“ test_generation imported", file=sys.stderr)
51
+ from information_gathering import build_page as build_information_gathering_page
52
+ print("βœ“ information_gathering imported", file=sys.stderr)
53
  from submission import build_page as build_submission_page
54
  print("βœ“ submission imported", file=sys.stderr)
55
  from about import build_page as build_about_page
 
280
  build_main_page()
281
  print("βœ“ Home page built", file=sys.stderr)
282
 
283
+ print("Building Bug Fixing page route...", file=sys.stderr)
284
+ with demo.route("Bug Fixing", "/bug-fixing"):
285
+ build_bug_fixing_page()
286
+ print("βœ“ Bug Fixing page built", file=sys.stderr)
287
+
288
+ print("Building App Creation page route...", file=sys.stderr)
289
+ with demo.route("App Creation", "/app-creation"):
290
+ build_app_creation_page()
291
+ print("βœ“ App Creation page built", file=sys.stderr)
292
+
293
+ print("Building Frontend Development page route...", file=sys.stderr)
294
+ with demo.route("Frontend Development", "/frontend-development"):
295
+ build_frontend_page()
296
+ print("βœ“ Frontend Development page built", file=sys.stderr)
297
+
298
+ print("Building Test Generation page route...", file=sys.stderr)
299
+ with demo.route("Test Generation", "/test-generation"):
300
+ build_test_generation_page()
301
+ print("βœ“ Test Generation page built", file=sys.stderr)
302
+
303
+ print("Building Information Gathering page route...", file=sys.stderr)
304
+ with demo.route("Information Gathering", "/information-gathering"):
305
+ build_information_gathering_page()
306
+ print("βœ“ Information Gathering page built", file=sys.stderr)
 
 
 
 
 
307
 
308
  print("Building About page route...", file=sys.stderr)
309
  with demo.route("About", "/about"):
app_creation.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from content import APP_CREATION_DESCRIPTION
2
+ from category_page_builder import build_category_page
3
+
4
+ # Define the category for this page
5
+ CATEGORY_NAME = "App Creation"
6
+
7
+ def build_page():
8
+ build_category_page(CATEGORY_NAME, APP_CREATION_DESCRIPTION)
bug_fixing.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from content import BUG_FIXING_DESCRIPTION
2
+ from category_page_builder import build_category_page
3
+
4
+ # Define the category for this page
5
+ CATEGORY_NAME = "Bug Fixing"
6
+
7
+ def build_page():
8
+ build_category_page(CATEGORY_NAME, BUG_FIXING_DESCRIPTION)
category_page_builder.py CHANGED
@@ -4,10 +4,11 @@ import pandas as pd
4
  # Import our UI factories and the data loader
5
  from ui_components import create_leaderboard_display, create_benchmark_details_display, get_full_leaderboard_data, create_sub_navigation_bar
6
  CATEGORY_DIAGRAM_MAP = {
7
- "Literature Understanding": "assets/literature-understanding.svg",
8
- "Code & Execution": "assets/code-execution.svg",
9
- "Data Analysis": "assets/data-analysis.svg",
10
- "End-to-End Discovery": "assets/end-to-end-discovery.svg",
 
11
  }
12
 
13
  def build_category_page(CATEGORY_NAME, PAGE_DESCRIPTION):
@@ -28,8 +29,9 @@ def build_category_page(CATEGORY_NAME, PAGE_DESCRIPTION):
28
 
29
  # --- The Right Column ---
30
  with gr.Column(scale=1):
 
31
  image_path = CATEGORY_DIAGRAM_MAP.get(CATEGORY_NAME)
32
- if image_path:
33
  gr.Image(
34
  value=image_path,
35
  show_label=False,
 
4
  # Import our UI factories and the data loader
5
  from ui_components import create_leaderboard_display, create_benchmark_details_display, get_full_leaderboard_data, create_sub_navigation_bar
6
  CATEGORY_DIAGRAM_MAP = {
7
+ "Bug Fixing": "assets/bug-fixing.svg",
8
+ "App Creation": "assets/app-creation.svg",
9
+ "Frontend Development": "assets/frontend-development.svg",
10
+ "Test Generation": "assets/test-generation.svg",
11
+ "Information Gathering": "assets/information-gathering.svg",
12
  }
13
 
14
  def build_category_page(CATEGORY_NAME, PAGE_DESCRIPTION):
 
29
 
30
  # --- The Right Column ---
31
  with gr.Column(scale=1):
32
+ import os
33
  image_path = CATEGORY_DIAGRAM_MAP.get(CATEGORY_NAME)
34
+ if image_path and os.path.exists(image_path):
35
  gr.Image(
36
  value=image_path,
37
  show_label=False,
content.py CHANGED
@@ -6,8 +6,8 @@ def create_gradio_anchor_id(text: str, validation) -> str:
6
  Example: "Paper Finder Validation" -> "h-paper-finder-validation"
7
  """
8
  text = text.lower()
9
- text = re.sub(r'\s+', '-', text)
10
- text = re.sub(r'[^\w-]', '', text)
11
  if validation:
12
  return f"h-{text}-leaderboard-1"
13
  return f"h-{text}-leaderboard"
@@ -25,7 +25,7 @@ INTRO_PARAGRAPH = """
25
  <strong>Overall score:</strong> A macro-average of the five category-level average scores. Each category contributes equally, regardless of how many benchmarks it includes. This ensures fair comparisons across agents with different domain strengths.
26
  </li>
27
  <li>
28
- <strong>Overall cost:</strong> A macro-average of the agent's cost per problem across all categories, in USD. Each category contributes equally.
29
  </li>
30
  </ul>
31
 
@@ -33,15 +33,12 @@ INTRO_PARAGRAPH = """
33
  This view is designed for quick comparison of general-purpose coding agents. For more details on how we calculate scores and cost, please see the <a href="/about" style="color: #0FCB8C; text-decoration: underline;">About</a> Page.
34
  </p>
35
  """
36
-
37
  SCATTER_DISCLAIMER = """
38
  **Note:** Agents without cost data are displayed to the right of the vertical divider line.
39
  """
40
-
41
  PARETO_DISCLAIMER = """
42
  Agents names that are green are Pareto optimal, meaning they achieve the best performance for their cost.
43
  """
44
-
45
  BUG_FIXING_DESCRIPTION = """
46
  The **Bug Fixing** category evaluates how well agents can diagnose and fix bugs in real-world codebases. This tests their ability to understand GitHub issues, navigate repositories, identify root causes, and implement correct fixes.
47
  <br><br>
@@ -50,7 +47,6 @@ The scores shown below reflect performance aggregated across two distinct benchm
50
  For detailed results, use the links above to explore individual benchmarks.
51
  <br>
52
  """
53
-
54
  APP_CREATION_DESCRIPTION = """
55
  The **App Creation** category in OpenHands Index evaluates an agent's ability to build complete applications from scratch based on natural language specifications. This tests whether agents can understand requirements, design architecture, write modular code, and create working applications.
56
  <br><br>
@@ -59,14 +55,12 @@ This category currently includes Commit0, which challenges agents to implement c
59
  For detailed results, use the links above to explore individual benchmark pages.
60
  <br>
61
  """
62
-
63
  FRONTEND_DEVELOPMENT_DESCRIPTION = """
64
  The **Frontend Development** category evaluates agents on their ability to build user interfaces and web applications. This tests skills in HTML, CSS, JavaScript frameworks, responsive design, and creating interactive user experiences.
65
  <br><br>
66
  This category includes Multi-SWE-bench, which challenges agents to work across multiple repositories and coordinate changes in complex web application architectures.
67
  <br>
68
  """
69
-
70
  TEST_GENERATION_DESCRIPTION = """
71
  The **Test Generation** category evaluates agents on their ability to create comprehensive test suites for existing code. This tests their understanding of code behavior, edge cases, and the ability to write effective unit tests, integration tests, and end-to-end tests.
72
  <br><br>
@@ -80,7 +74,6 @@ The **Information Gathering** category tests whether agents can effectively sear
80
  This category includes GAIA (General AI Assistant benchmark), which evaluates agents on real-world assistant tasks that require web search, file manipulation, and multi-step reasoning to gather and process information.
81
  <br>
82
  """
83
-
84
  SUBMISSION_CONFIRMATION = """
85
  **Your agent has been submitted to OpenHands Index for evaluation.**
86
  <br><br>
@@ -88,22 +81,861 @@ SUBMISSION_CONFIRMATION = """
88
  <br><br>
89
  You'll receive a confirmation email from our team within 2 business days with next steps. We will reach out to you directly if further information is needed.
90
  <br><br>
91
- We appreciate your support in advancing AI coding agents.
92
  """
93
 
94
  # External URLs for benchmark descriptions
95
- SWE_BENCH_URL = "https://www.swebench.com/"
96
- SWE_BENCH_MULTIMODAL_URL = "https://www.swebench.com/multimodal"
97
- MULTI_SWE_BENCH_URL = "https://github.com/multi-swe-bench"
98
- SWT_BENCH_URL = "https://github.com/swt-bench/swt-bench"
99
- COMMIT0_URL = "https://commit-0.github.io/"
100
- GAIA_URL = "https://huggingface.co/gaia-benchmark"
 
101
 
102
  # Helper function to create external links
103
  def external_link(url, text, is_s2_url=False):
104
- if is_s2_url:
105
- # For semantic scholar URLs, we want to show the S2 logo
106
- return f'<a href="{url}" target="_blank" class="benchmark-link"><img src="https://www.semanticscholar.org/img/semantic_scholar_icon.svg" alt="S2" class="s2-logo"> {text}</a>'
107
- else:
108
- # For other URLs, just show the text with external link icon
109
- return f'<a href="{url}" target="_blank" class="benchmark-link">{text} πŸ”—</a>'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  Example: "Paper Finder Validation" -> "h-paper-finder-validation"
7
  """
8
  text = text.lower()
9
+ text = re.sub(r'\s+', '-', text) # Replace spaces with hyphens
10
+ text = re.sub(r'[^\w-]', '', text) # Remove non-word characters
11
  if validation:
12
  return f"h-{text}-leaderboard-1"
13
  return f"h-{text}-leaderboard"
 
25
  <strong>Overall score:</strong> A macro-average of the five category-level average scores. Each category contributes equally, regardless of how many benchmarks it includes. This ensures fair comparisons across agents with different domain strengths.
26
  </li>
27
  <li>
28
+ <strong>Overall cost:</strong> A macro-average of the agent’s cost per problem across all categories, in USD. Each category contributes equally.
29
  </li>
30
  </ul>
31
 
 
33
  This view is designed for quick comparison of general-purpose coding agents. For more details on how we calculate scores and cost, please see the <a href="/about" style="color: #0FCB8C; text-decoration: underline;">About</a> Page.
34
  </p>
35
  """
 
36
  SCATTER_DISCLAIMER = """
37
  **Note:** Agents without cost data are displayed to the right of the vertical divider line.
38
  """
 
39
  PARETO_DISCLAIMER = """
40
  Agents names that are green are Pareto optimal, meaning they achieve the best performance for their cost.
41
  """
 
42
  BUG_FIXING_DESCRIPTION = """
43
  The **Bug Fixing** category evaluates how well agents can diagnose and fix bugs in real-world codebases. This tests their ability to understand GitHub issues, navigate repositories, identify root causes, and implement correct fixes.
44
  <br><br>
 
47
  For detailed results, use the links above to explore individual benchmarks.
48
  <br>
49
  """
 
50
  APP_CREATION_DESCRIPTION = """
51
  The **App Creation** category in OpenHands Index evaluates an agent's ability to build complete applications from scratch based on natural language specifications. This tests whether agents can understand requirements, design architecture, write modular code, and create working applications.
52
  <br><br>
 
55
  For detailed results, use the links above to explore individual benchmark pages.
56
  <br>
57
  """
 
58
  FRONTEND_DEVELOPMENT_DESCRIPTION = """
59
  The **Frontend Development** category evaluates agents on their ability to build user interfaces and web applications. This tests skills in HTML, CSS, JavaScript frameworks, responsive design, and creating interactive user experiences.
60
  <br><br>
61
  This category includes Multi-SWE-bench, which challenges agents to work across multiple repositories and coordinate changes in complex web application architectures.
62
  <br>
63
  """
 
64
  TEST_GENERATION_DESCRIPTION = """
65
  The **Test Generation** category evaluates agents on their ability to create comprehensive test suites for existing code. This tests their understanding of code behavior, edge cases, and the ability to write effective unit tests, integration tests, and end-to-end tests.
66
  <br><br>
 
74
  This category includes GAIA (General AI Assistant benchmark), which evaluates agents on real-world assistant tasks that require web search, file manipulation, and multi-step reasoning to gather and process information.
75
  <br>
76
  """
 
77
  SUBMISSION_CONFIRMATION = """
78
  **Your agent has been submitted to OpenHands Index for evaluation.**
79
  <br><br>
 
81
  <br><br>
82
  You'll receive a confirmation email from our team within 2 business days with next steps. We will reach out to you directly if further information is needed.
83
  <br><br>
84
+ We appreciate your support in advancing scientific AI.
85
  """
86
 
87
  # External URLs for benchmark descriptions
88
+ SCHOLAR_QA_CS_URL = "https://www.semanticscholar.org/paper/OpenScholar%3A-Synthesizing-Scientific-Literature-LMs-Asai-He/b40df4b273f255b3cb5639e220c8ab7b1bdb313e"
89
+ LITQA2_URL = "https://www.semanticscholar.org/paper/Language-agents-achieve-superhuman-synthesis-of-Skarlinski-Cox/fa5f9aa1cb6f97654ca8e6d279ceee1427a87e68"
90
+ ARXIV_DIGESTABLES_URL = "https://www.semanticscholar.org/paper/ArxivDIGESTables%3A-Synthesizing-Scientific-into-Newman-Lee/c7face35e84f2cb04fb1600d54298799aa0ed189"
91
+ SUPER_URL = "https://www.semanticscholar.org/paper/SUPER%3A-Evaluating-Agents-on-Setting-Up-and-Tasks-Bogin-Yang/053ef8299988680d47df36224bfccffc817472f1"
92
+ CORE_BENCH_URL = "https://www.semanticscholar.org/paper/CORE-Bench%3A-Fostering-the-Credibility-of-Published-Siegel-Kapoor/4c913d59d150fe7581386b87dfd9f90448a9adee"
93
+ DS1000_URL = "https://arxiv.org/abs/2211.11501"
94
+ DISCOVERY_BENCH_URL = "https://www.semanticscholar.org/paper/DiscoveryBench%3A-Towards-Data-Driven-Discovery-with-Majumder-Surana/48c83799530dc523ee01e6c1c40ad577d5c10a16"
95
 
96
  # Helper function to create external links
97
  def external_link(url, text, is_s2_url=False):
98
+ url = f"{url}?utm_source=asta_leaderboard" if is_s2_url else url
99
+ return f"<a href='{url}' target='_blank' rel='noopener noreferrer'>{text}</a>"
100
+
101
+ def internal_leaderboard_link(text, validation):
102
+ anchor_id = create_gradio_anchor_id(text, validation)
103
+ return f"<a href='#{anchor_id}'>{text}</a>"
104
+
105
+ # Function to get benchmark descriptions with validation flag
106
+ def get_benchmark_description(benchmark_name, validation):
107
+ descriptions = {
108
+ 'PaperFindingBench': (
109
+ "PaperFindingBench assesses an agent's ability to locate sets of papers based on a natural language "
110
+ "description that may involve both the papers' content and metadata, such as the author or publication year."
111
+ ),
112
+ 'LitQA2-FullText-Search': (
113
+ f"A version of {internal_leaderboard_link('LitQA2-FullText', validation)} that isolates the retrieval aspect of the task. "
114
+ f"This benchmark features the same multi-choice questions as {internal_leaderboard_link('LitQA2-FullText', validation)}, but the agent is not evaluated on answering the actual question "
115
+ "but rather on providing a ranked list of papers in which the answer is likely to be found."
116
+ ),
117
+ 'ScholarQA-CS2': (
118
+ "ScholarQA-CS2 assesses long-form model responses to literature review questions in the domain of computer science. "
119
+ "Answers are expected to be comprehensive reports, such as those produced by deep research systems. "
120
+ f"This benchmark advances on the previously released {external_link(SCHOLAR_QA_CS_URL, 'ScholarQA-CS', is_s2_url=True)} "
121
+ "by using queries from real-world usage, and introducing new evaluation methods for coverage and precision "
122
+ "of both the report text and its citations."
123
+ ),
124
+ 'LitQA2-FullText': (
125
+ f"{external_link(LITQA2_URL, 'LitQA2', is_s2_url=True)}, a benchmark introduced by FutureHouse, gauges a model's ability to answer questions that require document retrieval from the scientific literature. "
126
+ "It consists of multiple-choice questions that necessitate finding a unique paper and analyzing its detailed full text to spot precise information; these questions cannot be answered from a paper’s abstract. "
127
+ "While the original version of the benchmark provided for each question the title of the paper in which the answer can be found, it did not specify the overall collection to search over. In our version, "
128
+ "we search over the index we provide as part of the Asta standard toolset. The β€œ-FullText” suffix indicates we consider only the subset of LitQA2 questions for which "
129
+ "the full-text version of the answering paper is open source and available in our index."
130
+ ),
131
+ 'ArxivDIGESTables-Clean': (
132
+ f"{external_link(ARXIV_DIGESTABLES_URL, 'ArxivDIGESTables', is_s2_url=True)} assesses the ability of models to construct literature review tables, i.e., tables whose rows are papers and whose columns constitute a set of "
133
+ "aspects used to compare and contrast the papers. The goal is to construct such tables given a set of related papers and a table caption describing the user's goal. Generated tables are evaluated by "
134
+ "comparing them to actual tables published in ArXiv papers. The β€œ-Clean” suffix indicates a curated subset of ArxivDIGESTables which drops tables that are either trivial or impossible to reconstruct from full-texts."
135
+ ),
136
+ 'SUPER-Expert': (
137
+ "SUPER-Expert evaluates the capability of models in setting up and executing tasks from low-resource "
138
+ "research repositoriesβ€”centralized databases containing research data and related materials. "
139
+ f"The \"-Expert\" split indicates the name of the most challenging split in the {external_link(SUPER_URL, 'original SUPER benchmark', is_s2_url=True)} "
140
+ "that involves solving reproduction tasks from scratch and without any intermediate hints or details "
141
+ "about the important landmarks involved in each task."
142
+ ),
143
+ 'CORE-Bench-Hard': (
144
+ "Core-Bench-Hard tests computational reproducibility, a task involving reproducing the results of a study "
145
+ "using provided code and data. It consists of both language-only and vision-language challenges across "
146
+ "multiple difficulty levels. "
147
+ f"The \"-Hard\" split refers to the name of the most challenging split in the original {external_link(CORE_BENCH_URL, 'Core-bench benchmark', is_s2_url=True)} "
148
+ "where only a README file is provided with no instructions or an auxiliary Dockerfile."
149
+ ),
150
+ 'DS-1000': (
151
+ "DS-1000 is an established code generation benchmark containing Python data science coding questions "
152
+ "originally sourced from StackOverflow. It's designed to reflect an array of diverse, realistic, and "
153
+ "practical use cases and directly involves many of the Python libraries commonly used in data science "
154
+ f"and machine learning research. We split the original {external_link(DS1000_URL, 'dataset')} "
155
+ "into 100 validation and 900 test problems."
156
+ ),
157
+ 'DiscoveryBench': (
158
+ "DiscoveryBench is the first comprehensive benchmark to formalize the multi-step process of data-driven "
159
+ "analysis and discovery (i.e., data loading, transformation, statistical analysis, and modeling). "
160
+ f"Originally introduced {external_link(DISCOVERY_BENCH_URL, 'here', is_s2_url=True)}, it is designed to systematically "
161
+ "evaluate how well current LLMs can replicate or reproduce published scientific findings across diverse "
162
+ "domains, including social science, biology, history, and more."
163
+ ),
164
+ 'E2E-Bench': (
165
+ "E2E-Bench is the \"decathlon\" of AI-assisted research. It measures whether a system can run the entire "
166
+ "research pipeline, starting with an initial task description, to designing and performing (software) "
167
+ "experiments, to analyzing and writing up the results."
168
+ ),
169
+ 'E2E-Bench-Hard': (
170
+ f"E2E-Bench-Hard is a more challenging variant of {internal_leaderboard_link('E2E-Bench', validation)}. Tasks are generated using the HypER system, "
171
+ "which identifies research trends and proposes new, underexplored problems. Unlike the regular version, "
172
+ "these tasks are not simplified or curated for accessibility; they are reviewed only for feasibility. "
173
+ "This version is intended to test whether systems can handle more complex and less-structured research "
174
+ f"scenarios, following the same end-to-end process as {internal_leaderboard_link('E2E-Bench', validation)}."
175
+ )
176
+ }
177
+
178
+ return descriptions.get(benchmark_name, "")
179
+
180
+ CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
181
+ CITATION_BUTTON_TEXT = r"""@article{asta-bench,
182
+ title={OpenHands Index},
183
+ author={OpenHands Index folks},
184
+ year={2025},
185
+ eprint={TBD.TBD},
186
+ archivePrefix={arXiv},
187
+ primaryClass={cs.AI},
188
+ secondaryClass={cs.CL}
189
+ }"""
190
+
191
+ LEGAL_DISCLAIMER_TEXT = """
192
+ <h2>Terms and Conditions</h2>
193
+ <p>
194
+ The Allen Institute for Artificial Intelligence (Ai2) maintains this repository for agent evaluation submissions to OpenHands Index. To keep OpenHands Index fair and auditable, all evaluation logs and associated submission files will be made publicly available. This includes your benchmark inputs, model output responses, and other data and information related to your submission as needed to verify the results.
195
+ </p>
196
+ <br>
197
+ <p>
198
+ Your submissions to OpenHands Index will be posted, scored, and ranked on the leaderboard at <a href="https://huggingface.co/spaces/allenai/asta-bench-leaderboard" target="_blank" rel="noopener noreferrer">https://huggingface.co/spaces/allenai/asta-bench-leaderboard</a>. You agree you have the rights to the materials you submit and that you will not share any personal, sensitive, proprietary, or confidential information.
199
+ </p>
200
+ """
201
+
202
+ def format_error(msg):
203
+ return f"<p style='color: red; font-size: 20px; text-align: center;'>{msg}</p>"
204
+
205
+
206
+ def format_warning(msg):
207
+ return f"<p style='color: orange; font-size: 20px; text-align: center;'>{msg}</p>"
208
+
209
+
210
+ def format_log(msg):
211
+ return f"<p style='color: green; font-size: 20px; text-align: center;'>{msg}</p>"
212
+
213
+
214
+ def hyperlink(link_url: str, text: str = "πŸ”—") -> str:
215
+ if not link_url or not isinstance(link_url, str):
216
+ return str(text) # Or simply "" if link_url is bad
217
+ return f'<a target="_blank" href="{link_url}">{text}</a>'
218
+
219
+
220
+ def hf_uri_to_web_url(uri: str) -> str:
221
+ """
222
+ Convert a Hugging Face-style URI like:
223
+ hf://datasets/{namespace}/{repo}/{path...}
224
+ into a public web URL:
225
+ https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path...}
226
+ """
227
+ prefix = "hf://datasets/"
228
+ if not uri.startswith(prefix):
229
+ raise ValueError("URI must start with 'hf://datasets/'")
230
+
231
+ parts = uri[len(prefix) :].split("/", 2)
232
+ if len(parts) < 3:
233
+ raise ValueError("Expected format: hf://datasets/{namespace}/{repo}/{path...}")
234
+
235
+ namespace, repo, path = parts
236
+ return f"https://huggingface.co/datasets/{namespace}/{repo}/tree/main/{path}"
237
+
238
+
239
+ css = """
240
+ /* CSS Color Variables using Gradio theme */
241
+ :root {
242
+ --color-primary-green: var(--primary-900); /* #0FCB8C */
243
+ --color-primary-pink: var(--secondary-900); /* #f0529c */
244
+ --color-neutral-light: var(--neutral-200); /* #C9C9C3 */
245
+ --color-background-light: var(--neutral-50); /* #FAF2E9 */
246
+ --color-background-dark: var(--neutral-900); /* #032629 */
247
+ --color-text-light: var(--neutral-50); /* #FAF2E9 */
248
+ }
249
+
250
+ /* This makes space for the huggingface header bar which must shown on HF spaces. */
251
+ /* FIXME Media queries don't seem to survive rendering. */
252
+ /* @media (min-width: 768px) { ... } */
253
+ gradio-app {
254
+ padding-top: 65px;
255
+ }
256
+
257
+ /* Global Styles */
258
+ h2 {
259
+ overflow: hidden;
260
+ }
261
+
262
+ #intro-paragraph {
263
+ font-size: 18px;
264
+ max-width: 90%;
265
+ padding-left: 35px;
266
+ margin-top: 20px;
267
+ }
268
+
269
+ #intro-paragraph p,
270
+ #intro-paragraph li {
271
+ font-size: 16px;
272
+ line-height: 1.8;
273
+ }
274
+
275
+ #intro-paragraph ul {
276
+ margin-top: 20px;
277
+ margin-bottom: 20px;
278
+ }
279
+
280
+ #diagram-image {
281
+ height: 100%;
282
+ }
283
+
284
+ #diagram-image img {
285
+ width: 100%;
286
+ height: 100%;
287
+ object-fit: cover;
288
+ }
289
+ #intro-category-paragraph {
290
+ font-size: 18px;
291
+ max-width: 90%;
292
+ margin-top: 20px;
293
+ }
294
+
295
+ #intro-category-paragraph p,
296
+ #intro-category-paragraph li {
297
+ font-size: 16px;
298
+ line-height: 1.8;
299
+ }
300
+
301
+ #intro-category-paragraph ul {
302
+ margin-top: 20px;
303
+ margin-bottom: 20px;
304
+ }
305
+
306
+ #about-content {
307
+ font-size: 18px;
308
+ max-width: 60%;
309
+ padding-left: 25px;
310
+ }
311
+ #category-intro {
312
+ font-size: 18px;
313
+ max-width: 60%;
314
+ }
315
+ #logo-image {
316
+ margin: 0;
317
+ margin-bottom: 30px;
318
+ justify-content: flex-start;
319
+ max-width: 250px;
320
+ height: auto;
321
+ }
322
+ #page-content-wrapper{
323
+ padding-left: 25px;
324
+ }
325
+ .table-component{
326
+ height: auto !important;
327
+ max-height: none !important;
328
+ }
329
+ .table-wrap {
330
+ max-height: none !important;
331
+ height: auto !important;
332
+ overflow-y: visible !important;
333
+ }
334
+ /* --- New Rules for Table Density --- */
335
+ table.gr-table th, table.gr-table td {
336
+ padding: 4px 4px !important;
337
+ width: 1%;
338
+ white-space: nowrap;
339
+ }
340
+ table.svelte-1e98i6s td {
341
+ vertical-align: top !important;
342
+ }
343
+ table.gr-table {
344
+ font-size: 14px !important;
345
+ }
346
+ .html-container {
347
+ padding-top: 0 !important;
348
+ }
349
+ #scatter-disclaimer {
350
+ overflow: visible !important;
351
+ }
352
+ #pareto-disclaimer {
353
+ color: #f0529c !important;
354
+ }
355
+ thead.svelte-1e98i6s th {
356
+ background: white !important;
357
+ }
358
+ .dark thead.svelte-1e98i6s th {
359
+ background: #091a1a !important;
360
+ }
361
+ .cell-wrap.svelte-v1pjjd {
362
+ font-family: 'Manrope';
363
+ }
364
+ nav.svelte-ti537g.svelte-ti537g {
365
+ justify-content: flex-start;
366
+ }
367
+ .nav-holder {
368
+ padding-left: 20px !important;
369
+ }
370
+ #legend-markdown span {
371
+ margin-right: 15px !important;
372
+ }
373
+ #leaderboard-accordion .label-wrap {
374
+ font-size: 1.4rem !important;
375
+ z-index: 10 !important;
376
+ position: relative !important;
377
+ }
378
+ .dark #leaderboard-accordion .label-wrap {
379
+ color: #0FCB8C !important;
380
+ }
381
+ .dark block.svelte-1svsvh2 {
382
+ background: #032629 !important;
383
+ }
384
+ .padding.svelte-phx28p {
385
+ padding: 0 !important;
386
+ }
387
+ .sub-nav-bar-container {
388
+ display: flex !important;
389
+ flex-wrap: wrap !important;
390
+ align-items: center !important;
391
+ gap: 10px !important;
392
+ }
393
+ .dark .primary-link-button {
394
+ color: var(--color-primary-green);
395
+ }
396
+ .primary-link-button {
397
+ background: none;
398
+ border: none;
399
+ padding: 0;
400
+ margin: 0;
401
+ font-family: inherit;
402
+ font-size: 16px;
403
+ color: var(--color-primary-pink);
404
+ text-decoration: none;
405
+ cursor: pointer;
406
+ white-space: nowrap;
407
+ }
408
+ .primary-link-button:hover {
409
+ text-decoration: underline;
410
+ }
411
+ .sub-nav-label {
412
+ font-weight: bold;
413
+ font-size: 16px;
414
+ display: flex;
415
+ align-items: center;
416
+ }
417
+ .wrap-header-df th span{
418
+ white-space: normal !important;
419
+ word-break: normal !important;
420
+ overflow-wrap: break-word !important;
421
+ line-height: 1.2 !important;
422
+ vertical-align: top !important;
423
+ font-size: 12px !important;
424
+ font-family: 'Manrope';
425
+ }
426
+ .wrap-header-df th {
427
+ height: auto !important;
428
+ }
429
+ .wrap-header-df .cell-wrap img {
430
+ width: 16px;
431
+ height: 16px;
432
+ vertical-align: middle;
433
+ }
434
+ #legend-markdown img {
435
+ width: 16px;
436
+ height: 16px;
437
+ vertical-align: middle;
438
+ }
439
+ /*------ Global tooltip styles ------*/
440
+ .tooltip-icon {
441
+ display: inline-block;
442
+ cursor: help;
443
+ position: relative;
444
+ }
445
+ .tooltip-icon::after {
446
+ content: attr(data-tooltip);
447
+ position: absolute;
448
+ bottom: 125%;
449
+ background-color: #105257;
450
+ color: #fff;
451
+ padding: 10px;
452
+ border-radius: 4px;
453
+ font-size: 12px;
454
+ opacity: 0;
455
+ transition: opacity 0.2s;
456
+ white-space: pre-line;
457
+ width: max-content;
458
+ text-align: left;
459
+ pointer-events: none;
460
+ max-width: 300px;
461
+ left: 50%;
462
+ transform: translateX(-50%);
463
+ z-index: 1000;
464
+ }
465
+ @media (max-width: 768px) {
466
+ .tooltip-icon::after {
467
+ max-width: 250px;
468
+ }
469
+ }
470
+ .tooltip-icon:hover::after {
471
+ opacity: 1;
472
+ }
473
+ /*------ Openness label tooltip styles ------*/
474
+ .styler,
475
+ #openness-label-html,
476
+ #agent-tooling-label-html {
477
+ overflow: visible !important;
478
+ }
479
+ /*------ Table cell tooltip styles ------*/
480
+ .wrap.default.full,
481
+ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
482
+ overflow: visible !important;
483
+ }
484
+
485
+ .cell-tooltip-icon::after {
486
+ height: fit-content;
487
+ top: 125%;
488
+ }
489
+ /*------ Table column description tooltip styles ------*/
490
+ #legend-markdown,
491
+ #leaderboard-accordion {
492
+ overflow: visible !important;
493
+ }
494
+
495
+ /* --- inside table tooltips --- */
496
+ .native-tooltip-icon {
497
+ cursor: help;
498
+ text-decoration: underline dotted 1px;
499
+ }
500
+ /* Main Nav bar styling */
501
+ .nav-holder nav {
502
+ display: grid !important;
503
+ grid-template-columns: auto auto auto auto auto 1fr auto auto !important;
504
+ gap: 10px 20px !important; /* Vertical and horizontal spacing */
505
+ width: 100% !important;
506
+ align-items: center;
507
+ }
508
+ .nav-holder nav a[href*="about"] {
509
+ grid-row: 1 !important;
510
+ grid-column: 7 !important;
511
+ }
512
+ .nav-holder nav a[href*="submit"] {
513
+ grid-row: 1 !important;
514
+ grid-column: 8 !important;
515
+ white-space: nowrap !important;
516
+ }
517
+ /* Divider line between header and category nav */
518
+ .nav-holder nav::after {
519
+ content: ''; /* Required for pseudo-elements to appear */
520
+ background-color: #C9C9C3;
521
+ height: 1px;
522
+ grid-row: 2 !important;
523
+ grid-column: 1 / -1 !important;
524
+ }
525
+
526
+ /* Horizontal scrolling for navigation */
527
+ .nav-holder nav {
528
+ overflow-x: auto;
529
+ scrollbar-width: none;
530
+ -ms-overflow-style: none;
531
+ }
532
+ .nav-holder nav::-webkit-scrollbar {
533
+ display: none;
534
+ }
535
+
536
+ /* Category navigation buttons in row 3 */
537
+ .nav-holder nav a[href*="literature-understanding"],
538
+ .nav-holder nav a[href*="code-execution"],
539
+ .nav-holder nav a[href*="data-analysis"],
540
+ .nav-holder nav a[href*="discovery"] {
541
+ grid-row: 3 !important;
542
+ justify-self: center !important;
543
+ width: fit-content !important;
544
+ white-space: nowrap;
545
+ flex-shrink: 0;
546
+ }
547
+
548
+ .nav-holder nav a[href*="literature-understanding"] { grid-column: 1 !important; }
549
+ .nav-holder nav a[href*="code-execution"] { grid-column: 2 !important; }
550
+ .nav-holder nav a[href*="data-analysis"] { grid-column: 3 !important; }
551
+ .nav-holder nav a[href*="discovery"] { grid-column: 4 !important; }
552
+
553
+ /* Navigation hover styles */
554
+ .nav-holder nav a[href*="about"]:hover,
555
+ .nav-holder nav a[href*="submit"]:hover,
556
+ .nav-holder nav a[href*="literature-understanding"]:hover,
557
+ .nav-holder nav a[href*="code-execution"]:hover,
558
+ .nav-holder nav a[href*="data-analysis"]:hover,
559
+ .nav-holder nav a[href*="discovery"]:hover {
560
+ background-color: #FDF9F4;
561
+ }
562
+
563
+ .dark .nav-holder nav a[href*="about"]:hover,
564
+ .dark .nav-holder nav a[href*="submit"]:hover,
565
+ .dark .nav-holder nav a[href*="literature-understanding"]:hover,
566
+ .dark .nav-holder nav a[href*="code-execution"]:hover,
567
+ .dark .nav-holder nav a[href*="data-analysis"]:hover,
568
+ .dark .nav-holder nav a[href*="discovery"]:hover {
569
+ background-color: #1C3A3C;
570
+ }
571
+ .benchmark-main-subtitle{
572
+ color: var(--color-primary-green);
573
+ overflow: hidden;
574
+ padding-top: 120px;
575
+ }
576
+ .benchmark-title{
577
+ color: var(--color-primary-pink);
578
+ margin-top: 50px;
579
+ font-size: 20px;
580
+ }
581
+ .dark .benchmark-title{
582
+ color: var(--color-primary-green);
583
+ }
584
+ .benchmark-description {
585
+ margin: 20px 0;
586
+ max-width: 800px;
587
+ }
588
+ /*------ Submission Page CSS ------*/
589
+ #submission-modal .modal-container,
590
+ #success-modal .modal-container {
591
+ height: auto;
592
+ max-width: 600px;
593
+ }
594
+
595
+ #submission-modal-content,
596
+ #success-modal .submission-modal-content {
597
+ padding: 20px;
598
+ background-color: inherit;
599
+ border-radius: 8px;
600
+ text-align: center;
601
+ }
602
+
603
+ #submission-modal-content p,
604
+ #success-modal .submission-modal-content p {
605
+ font-size: 16px;
606
+ }
607
+
608
+ #legal-modal-content {
609
+ padding: 30px;
610
+ background-color: inherit;
611
+ border-radius: 8px;
612
+ text-align: left;
613
+ font-size: 14px;
614
+ }
615
+
616
+ #legal-modal-content h2 {
617
+ text-align: center;
618
+ }
619
+ #legal-modal-content button {
620
+ width: fit-content;
621
+ }
622
+ .spinner-container {
623
+ display: flex;
624
+ flex-direction: column;
625
+ align-items: center;
626
+ justify-content: center;
627
+ padding: 30px;
628
+ }
629
+
630
+ .spinner {
631
+ width: 50px;
632
+ height: 50px;
633
+ border: 5px solid #dee2e6;
634
+ border-top: 5px solid #007bff;
635
+ border-radius: 50%;
636
+ animation: spin 1s linear infinite;
637
+ margin-bottom: 20px;
638
+ }
639
+
640
+ @keyframes spin {
641
+ 0% { transform: rotate(0deg); }
642
+ 100% { transform: rotate(360deg); }
643
+ }
644
+
645
+ #submission-page-container {
646
+ max-width: 800px;
647
+ margin: 0 auto;
648
+ }
649
+
650
+ #submission-file-label {
651
+ padding: 10px;
652
+ }
653
+
654
+ #submission-button {
655
+ max-width: fit-content;
656
+ font-size: 14px;
657
+ }
658
+
659
+ .custom-form-group {
660
+ border: 1px solid #000 !important;
661
+ border-radius: 4px !important;
662
+ padding: 24px !important;
663
+ overflow: visible !important;
664
+ }
665
+
666
+ #openness-label-html,
667
+ #agent-tooling-label-html,
668
+ #agent-info-label-html,
669
+ #submitter-info-label-html,
670
+ #username-label-html,
671
+ #email-label-html,
672
+ #role-label-html {
673
+ padding-left: 12px;
674
+ }
675
+
676
+ .form-label {
677
+ margin: 4px 0px 0px 6px;
678
+ }
679
+
680
+ .form-label-fieldset {
681
+ padding-top: 10px !important;
682
+ }
683
+
684
+ #agent-tooling-label-html {
685
+ padding-top: 6px;
686
+ }
687
+
688
+ .custom-form-group,
689
+ .styler {
690
+ background: none;
691
+ }
692
+
693
+ #feedback-button {
694
+ display: inline-block;
695
+ background-color: #345d60;
696
+ color: white;
697
+ border: none;
698
+ border-radius: 4px;
699
+ padding: 15px 20px;
700
+ font-size: 16px;
701
+ cursor: pointer;
702
+ transition: all 0.3s ease;
703
+ text-decoration: none;
704
+ }
705
+
706
+ #feedback-button:hover {
707
+ background-color: #5d888b;
708
+ transform: translateY(-2px);
709
+ box-shadow: 0 6px 12px rgba(0,0,0,0.3);
710
+ }
711
+ .dark #main-header h2 {
712
+ color: #0fcb8c;
713
+ }
714
+ #main-header h2 {
715
+ color: #f0529c;
716
+ }
717
+
718
+ /* --- New HTML-Based Tooltip Styles --- */
719
+ .tooltip-icon-legend {
720
+ position: relative;
721
+ cursor: help;
722
+ display: inline-block;
723
+ }
724
+
725
+ /* The HTML pop-up card tooltips.*/
726
+ .tooltip-card {
727
+ /* Hiding mechanism */
728
+ opacity: 0;
729
+ visibility: hidden;
730
+ transition: opacity 0.2s;
731
+ pointer-events: none;
732
+ /* Card appearance */
733
+ position: fixed;
734
+ z-index: 1000;
735
+ background-color: #083c40;
736
+ color: #e5e7eb;
737
+ border-radius: 12px;
738
+ padding: 15px;
739
+ width: max-content;
740
+ max-width: 400px;
741
+ text-align: left;
742
+ }
743
+ .tooltip-card.visible {
744
+ opacity: 1;
745
+ visibility: visible;
746
+ }
747
+ .tooltip-card h3 {
748
+ font-size: 18px;
749
+ color: #fff;
750
+ margin-top: 0;
751
+ margin-bottom: 12px;
752
+ }
753
+ .tooltip-card .tooltip-description {
754
+ margin-bottom: 20px;
755
+ line-height: 1.3;
756
+ }
757
+ .tooltip-card .tooltip-items-container {
758
+ display: flex;
759
+ flex-direction: column;
760
+ gap: 10px;
761
+ }
762
+ .tooltip-card .tooltip-legend-item {
763
+ display: flex;
764
+ align-items:
765
+ flex-start;
766
+ gap: 10px;
767
+ }
768
+ .tooltip-card .tooltip-legend-item img {
769
+ width: 20px;
770
+ height: 20px;
771
+ margin-top: 2px;
772
+ }
773
+ .tooltip-card .tooltip-legend-item div {
774
+ display: flex;
775
+ flex-direction: column;
776
+ }
777
+ .tooltip-card .tooltip-legend-item strong {
778
+ font-weight: 600;
779
+ color: #fff;
780
+ }
781
+ .tooltip-card .tooltip-legend-item span {
782
+ font-size: 13px;
783
+ line-height: 1.3;
784
+ }
785
+ .tooltip-sub-list {
786
+ list-style-type: 'β€’ ';
787
+ padding-left: 18px;
788
+ font-size: 13px;
789
+ line-height: 1.3;
790
+ display: flex;
791
+ flex-direction: column;
792
+ }
793
+ .table-legend-item {
794
+ display: flex;
795
+ align-items: center;
796
+ white-space: nowrap;
797
+ margin-top: 8px;
798
+ flex-wrap: wrap;
799
+ }
800
+
801
+ /* About Page CSS */
802
+ #about-page-content-wrapper {
803
+ margin-left: auto;
804
+ margin-right: auto;
805
+ max-width: 800px;
806
+ padding: 0 24px;
807
+ display: flex;
808
+ flex-direction: column;
809
+ gap: 40px;
810
+ margin-top: 40px;
811
+ opacity: 85%;
812
+ margin-bottom: 60px;
813
+ }
814
+ .link-buttons-container {
815
+ display: flex;
816
+ flex-wrap: wrap; /* Allows buttons to stack on very narrow screens */
817
+ gap: 16px;
818
+ margin-top: 16px;
819
+ }
820
+ .link-button {
821
+ display: flex;
822
+ justify-content: space-between;
823
+ align-items: center;
824
+ flex-grow: 1;
825
+ background-color: #083c40;
826
+ padding: 16px 20px;
827
+ font-weight: 600;
828
+ border-radius: 12px;
829
+ text-decoration: none;
830
+ transition: background-color 0.2s ease-in-out;
831
+ }
832
+ .link-button:hover {
833
+ background-color: #0a4c52;
834
+ }
835
+ .external-link-icon {
836
+ font-size: 20px;
837
+ line-height: 1;
838
+ margin-left: 12px;
839
+ }
840
+
841
+ #leaderboard-accordion table {
842
+ width: auto !important;
843
+ margin-right: auto !important;
844
+ }
845
+ .info-list {
846
+ padding-left: 20px;
847
+ }
848
+
849
+ /* Smooth scrolling for the entire page */
850
+ html {
851
+ scroll-behavior: smooth;
852
+ }
853
+ /* Home Page Styling */
854
+ .diagram-placeholder {
855
+ width: 100%;
856
+ height: 100%;
857
+ min-height: 250px;
858
+ display: flex;
859
+ align-items: center;
860
+ justify-content: center;
861
+ background-color: #FAF2E9;
862
+ color: #F0529C;
863
+ border-radius: 8px;
864
+ font-size: 14px;
865
+ text-align: center;
866
+ }
867
+ /* 2. Responsive behavior for smaller screens */
868
+ @media (max-width: 900px) {
869
+ #intro-row {
870
+ flex-direction: column;
871
+ }
872
+ }
873
+ /* Plot legend styles */
874
+ .plot-legend-container {
875
+ min-height: 572px;
876
+ background-color: #fff;
877
+ padding: 24px 32px;
878
+ border: 1px solid black;
879
+ border-radius: 4px;
880
+ }
881
+
882
+ .dark .plot-legend-container {
883
+ background: rgba(250, 242, 233, 0.1);
884
+ border-color: rgb(159, 234, 209);
885
+ }
886
+
887
+ #plot-legend-logo {
888
+ margin-bottom: 24px;
889
+ }
890
+
891
+ #plot-legend-logo img {
892
+ height: 19px;
893
+ }
894
+
895
+ .plot-legend-category-heading {
896
+ font-size: 16px;
897
+ font-weight: 700;
898
+ }
899
+
900
+ .plot-legend-item {
901
+ display: flex;
902
+ margin-top: 8px;
903
+ }
904
+
905
+
906
+ .plot-legend-item-text .description {
907
+ color: #888;
908
+ font-size: 12px;
909
+ }
910
+
911
+ .plot-legend-item-svg {
912
+ margin-top: 3px;
913
+ width: 14px;
914
+ height: 14px;
915
+ margin-right: 8px;
916
+ }
917
+
918
+ .plot-legend-tooling-svg {
919
+ height: 16px;
920
+ width: 16px;
921
+ margin-top: 2px;
922
+ }
923
+
924
+ #plot-legend-item-pareto-svg {
925
+ width: 18px;
926
+ height: 18px;
927
+ margin-right: 2px;
928
+ }
929
+ h3 .header-link-icon {
930
+ font-size: 12px;
931
+ vertical-align: text-top;
932
+ margin-left: 6px;
933
+ text-decoration: none;
934
+ }
935
+
936
+ /* Targets all "overall stats" columns in the main leaderboard for each category */
937
+ #main-leaderboard td:nth-child(6) .prose,
938
+ #main-leaderboard td:nth-child(7) .prose {
939
+ font-weight: 700 !important;
940
+ }
941
+ """
frontend_development.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from content import FRONTEND_DEVELOPMENT_DESCRIPTION
2
+ from category_page_builder import build_category_page
3
+
4
+ # Define the category for this page
5
+ CATEGORY_NAME = "Frontend Development"
6
+
7
+ def build_page():
8
+ build_category_page(CATEGORY_NAME, FRONTEND_DEVELOPMENT_DESCRIPTION)
information_gathering.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from content import INFORMATION_GATHERING_DESCRIPTION
2
+ from category_page_builder import build_category_page
3
+
4
+ # Define the category for this page
5
+ CATEGORY_NAME = "Information Gathering"
6
+
7
+ def build_page():
8
+ build_category_page(CATEGORY_NAME, INFORMATION_GATHERING_DESCRIPTION)
test_generation.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from content import TEST_GENERATION_DESCRIPTION
2
+ from category_page_builder import build_category_page
3
+
4
+ # Define the category for this page
5
+ CATEGORY_NAME = "Test Generation"
6
+
7
+ def build_page():
8
+ build_category_page(CATEGORY_NAME, TEST_GENERATION_DESCRIPTION)