import gradio as gr def build_page(): with gr.Column(elem_id="about-page-content-wrapper"): # --- Section 1: About --- gr.HTML( """
OpenHands Index tracks AI coding agent performance across software engineering benchmarks, providing a unified view of both accuracy and cost efficiency.
""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 2: Benchmark Details --- gr.HTML( """We evaluate agents across five categories:
Per-benchmark scores: Each benchmark reports a percentage metric (resolve rate, accuracy, or test pass rate), making scores comparable regardless of dataset size.
Average score: Macro-average across all five categories with equal weighting.
Cost & Runtime: Average USD and seconds per task instance.
All evaluations use the OpenHands Agent SDK with identical configurations per model.
""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 4: API Access --- gr.HTML( """Access leaderboard data programmatically via our REST API:
Example:
curl "https://index.openhands.dev/api/leaderboard?limit=5"""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 5: Resources --- gr.HTML( """
Questions or feedback? Join us on Slack.
""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 6: Acknowledgements --- gr.HTML( """The leaderboard interface is adapted from the AstaBench Leaderboard by Allen Institute for AI.
""" ) gr.Markdown("---", elem_classes="divider-line") # --- Section 7: Citation --- gr.HTML( """
@misc{openhandsindex2025,
title={OpenHands Index: A Comprehensive Leaderboard for AI Coding Agents},
author={OpenHands Team},
year={2025},
howpublished={https://index.openhands.dev}
}
"""
)